<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-pragma">{-# LANGUAGE Trustworthy #-}</span><span>
</span><span id="line-2"></span><span class="hs-pragma">{-# LANGUAGE CPP, NoImplicitPrelude, BangPatterns, MagicHash, UnboxedTuples,
             StandaloneDeriving, NegativeLiterals #-}</span><span>
</span><span id="line-4"></span><span class="hs-pragma">{-# OPTIONS_HADDOCK not-home #-}</span><span>
</span><span id="line-5"></span><span>
</span><span id="line-6"></span><span class="hs-comment">-----------------------------------------------------------------------------</span><span>
</span><span id="line-7"></span><span class="hs-comment">-- |</span><span>
</span><span id="line-8"></span><span class="hs-comment">-- Module      :  GHC.Int</span><span>
</span><span id="line-9"></span><span class="hs-comment">-- Copyright   :  (c) The University of Glasgow 1997-2002</span><span>
</span><span id="line-10"></span><span class="hs-comment">-- License     :  see libraries/base/LICENSE</span><span>
</span><span id="line-11"></span><span class="hs-comment">--</span><span>
</span><span id="line-12"></span><span class="hs-comment">-- Maintainer  :  cvs-ghc@haskell.org</span><span>
</span><span id="line-13"></span><span class="hs-comment">-- Stability   :  internal</span><span>
</span><span id="line-14"></span><span class="hs-comment">-- Portability :  non-portable (GHC Extensions)</span><span>
</span><span id="line-15"></span><span class="hs-comment">--</span><span>
</span><span id="line-16"></span><span class="hs-comment">-- The sized integral datatypes, 'Int8', 'Int16', 'Int32', and 'Int64'.</span><span>
</span><span id="line-17"></span><span class="hs-comment">--</span><span>
</span><span id="line-18"></span><span class="hs-comment">-----------------------------------------------------------------------------</span><span class="hs-cpp">

#include &quot;MachDeps.h&quot;
</span><span>
</span><span id="line-22"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">GHC.Int</span><span> </span><span class="hs-special">(</span><span>
</span><span id="line-23"></span><span>        </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-identifier">Int</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier">Int8</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier">Int16</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier">Int32</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier">Int64</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-24"></span><span>        </span><span class="annot"><a href="GHC.Int.html#uncheckedIShiftL64%23"><span class="hs-identifier">uncheckedIShiftL64#</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#uncheckedIShiftRA64%23"><span class="hs-identifier">uncheckedIShiftRA64#</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-25"></span><span>        </span><span class="annot"><span class="hs-comment">-- * Equality operators</span></span><span>
</span><span id="line-26"></span><span>        </span><span class="annot"><span class="hs-comment">-- | See GHC.Classes#matching_overloaded_methods_in_rules</span></span><span>
</span><span id="line-27"></span><span>        </span><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#eqInt"><span class="hs-identifier">eqInt</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#neInt"><span class="hs-identifier">neInt</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#gtInt"><span class="hs-identifier">gtInt</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#geInt"><span class="hs-identifier">geInt</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#ltInt"><span class="hs-identifier">ltInt</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#leInt"><span class="hs-identifier">leInt</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-28"></span><span>        </span><span class="annot"><a href="GHC.Int.html#eqInt8"><span class="hs-identifier">eqInt8</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#neInt8"><span class="hs-identifier">neInt8</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#gtInt8"><span class="hs-identifier">gtInt8</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#geInt8"><span class="hs-identifier">geInt8</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#ltInt8"><span class="hs-identifier">ltInt8</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#leInt8"><span class="hs-identifier">leInt8</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-29"></span><span>        </span><span class="annot"><a href="GHC.Int.html#eqInt16"><span class="hs-identifier">eqInt16</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#neInt16"><span class="hs-identifier">neInt16</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#gtInt16"><span class="hs-identifier">gtInt16</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#geInt16"><span class="hs-identifier">geInt16</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#ltInt16"><span class="hs-identifier">ltInt16</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#leInt16"><span class="hs-identifier">leInt16</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-30"></span><span>        </span><span class="annot"><a href="GHC.Int.html#eqInt32"><span class="hs-identifier">eqInt32</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#neInt32"><span class="hs-identifier">neInt32</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#gtInt32"><span class="hs-identifier">gtInt32</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#geInt32"><span class="hs-identifier">geInt32</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#ltInt32"><span class="hs-identifier">ltInt32</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#leInt32"><span class="hs-identifier">leInt32</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-31"></span><span>        </span><span class="annot"><a href="GHC.Int.html#eqInt64"><span class="hs-identifier">eqInt64</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#neInt64"><span class="hs-identifier">neInt64</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#gtInt64"><span class="hs-identifier">gtInt64</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#geInt64"><span class="hs-identifier">geInt64</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#ltInt64"><span class="hs-identifier">ltInt64</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#leInt64"><span class="hs-identifier">leInt64</span></a></span><span>
</span><span id="line-32"></span><span>    </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-33"></span><span>
</span><span id="line-34"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Data.Bits.html"><span class="hs-identifier">Data.Bits</span></a></span><span>
</span><span id="line-35"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Data.Maybe.html"><span class="hs-identifier">Data.Maybe</span></a></span><span class="hs-cpp">

#if WORD_SIZE_IN_BITS &lt; 64
</span><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">GHC.IntWord64</span><span class="hs-cpp">
#endif
</span><span>
</span><span id="line-41"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Base.html"><span class="hs-identifier">GHC.Base</span></a></span><span>
</span><span id="line-42"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Enum.html"><span class="hs-identifier">GHC.Enum</span></a></span><span>
</span><span id="line-43"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Num.html"><span class="hs-identifier">GHC.Num</span></a></span><span>
</span><span id="line-44"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Real.html"><span class="hs-identifier">GHC.Real</span></a></span><span>
</span><span id="line-45"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Read.html"><span class="hs-identifier">GHC.Read</span></a></span><span>
</span><span id="line-46"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Arr.html"><span class="hs-identifier">GHC.Arr</span></a></span><span>
</span><span id="line-47"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Word.html"><span class="hs-identifier">GHC.Word</span></a></span><span> </span><span class="hs-keyword">hiding</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Word.html#uncheckedShiftL64%23"><span class="hs-identifier">uncheckedShiftL64#</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Word.html#uncheckedShiftRL64%23"><span class="hs-identifier">uncheckedShiftRL64#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-48"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Show.html"><span class="hs-identifier">GHC.Show</span></a></span><span>
</span><span id="line-49"></span><span>
</span><span id="line-50"></span><span class="hs-comment">------------------------------------------------------------------------</span><span>
</span><span id="line-51"></span><span class="hs-comment">-- type Int8</span><span>
</span><span id="line-52"></span><span class="hs-comment">------------------------------------------------------------------------</span><span>
</span><span id="line-53"></span><span>
</span><span id="line-54"></span><span class="hs-comment">-- Int8 is represented in the same way as Int. Operations may assume</span><span>
</span><span id="line-55"></span><span class="hs-comment">-- and must ensure that it holds only values from its logical range.</span><span>
</span><span id="line-56"></span><span>
</span><span id="line-57"></span><span class="hs-keyword">data</span><span> </span><span class="hs-pragma">{-# CTYPE</span><span> </span><span class="hs-pragma">&quot;HsInt8&quot;</span><span> </span><span class="hs-pragma">#-}</span><span> </span><span id="Int8"><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-var">Int8</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="I8%23"><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span></span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#Int%23"><span class="hs-identifier hs-type">Int#</span></a></span><span>
</span><span id="line-58"></span><span class="hs-comment">-- ^ 8-bit signed integer type</span><span>
</span><span id="line-59"></span><span>
</span><span id="line-60"></span><span class="hs-comment">-- See GHC.Classes#matching_overloaded_methods_in_rules</span><span>
</span><span id="line-61"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-62"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#Eq"><span class="hs-identifier hs-type">Eq</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-63"></span><span>    </span><span id="local-6989586621679510115"><span class="annot"><span class="annottext">== :: Int8 -&gt; Int8 -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var hs-var hs-var hs-var">(==)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
</span><a href="GHC.Int.html#eqInt8"><span class="hs-identifier hs-var">eqInt8</span></a></span><span>
</span><span id="line-64"></span><span>    </span><span id="local-6989586621679510114"><span class="annot"><span class="annottext">/= :: Int8 -&gt; Int8 -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%2F%3D"><span class="hs-operator hs-var hs-var hs-var hs-var">(/=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
</span><a href="GHC.Int.html#neInt8"><span class="hs-identifier hs-var">neInt8</span></a></span><span>
</span><span id="line-65"></span><span>
</span><span id="line-66"></span><span class="annot"><a href="GHC.Int.html#eqInt8"><span class="hs-identifier hs-type">eqInt8</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#neInt8"><span class="hs-identifier hs-type">neInt8</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Bool"><span class="hs-identifier hs-type">Bool</span></a></span><span>
</span><span id="line-67"></span><span id="eqInt8"><span class="annot"><span class="annottext">eqInt8 :: Int8 -&gt; Int8 -&gt; Bool
</span><a href="GHC.Int.html#eqInt8"><span class="hs-identifier hs-var hs-var">eqInt8</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510112"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510112"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510111"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510111"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510112"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3D%3D%23"><span class="hs-operator hs-var">==#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510111"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-68"></span><span id="neInt8"><span class="annot"><span class="annottext">neInt8 :: Int8 -&gt; Int8 -&gt; Bool
</span><a href="GHC.Int.html#neInt8"><span class="hs-identifier hs-var hs-var">neInt8</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510109"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510109"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510108"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510108"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510109"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%2F%3D%23"><span class="hs-operator hs-var">/=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510108"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-69"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#eqInt8"><span class="hs-pragma hs-type">eqInt8</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-70"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#neInt8"><span class="hs-pragma hs-type">neInt8</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-71"></span><span>
</span><span id="line-72"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-73"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679510096"><span id="local-6989586621679510098"><span id="local-6989586621679510104"><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#Ord"><span class="hs-identifier hs-type">Ord</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-74"></span><span>    </span><span id="local-6989586621679510094"><span class="annot"><span class="annottext">&lt; :: Int8 -&gt; Int8 -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C"><span class="hs-operator hs-var hs-var hs-var hs-var">(&lt;)</span></a></span></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
</span><a href="GHC.Int.html#ltInt8"><span class="hs-identifier hs-var">ltInt8</span></a></span><span>
</span><span id="line-75"></span><span>    </span><span id="local-6989586621679510092"><span class="annot"><span class="annottext">&lt;= :: Int8 -&gt; Int8 -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C%3D"><span class="hs-operator hs-var hs-var hs-var hs-var">(&lt;=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
</span><a href="GHC.Int.html#leInt8"><span class="hs-identifier hs-var">leInt8</span></a></span><span>
</span><span id="line-76"></span><span>    </span><span id="local-6989586621679510090"><span class="annot"><span class="annottext">&gt;= :: Int8 -&gt; Int8 -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E%3D"><span class="hs-operator hs-var hs-var hs-var hs-var">(&gt;=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
</span><a href="GHC.Int.html#geInt8"><span class="hs-identifier hs-var">geInt8</span></a></span><span>
</span><span id="line-77"></span><span>    </span><span id="local-6989586621679510089"><span class="annot"><span class="annottext">&gt; :: Int8 -&gt; Int8 -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E"><span class="hs-operator hs-var hs-var hs-var hs-var">(&gt;)</span></a></span></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
</span><a href="GHC.Int.html#gtInt8"><span class="hs-identifier hs-var">gtInt8</span></a></span><span>
</span><span id="line-78"></span><span>
</span><span id="line-79"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#gtInt8"><span class="hs-pragma hs-type">gtInt8</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-80"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#geInt8"><span class="hs-pragma hs-type">geInt8</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-81"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#ltInt8"><span class="hs-pragma hs-type">ltInt8</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-82"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#leInt8"><span class="hs-pragma hs-type">leInt8</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-83"></span><span class="annot"><a href="GHC.Int.html#gtInt8"><span class="hs-identifier hs-type">gtInt8</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#geInt8"><span class="hs-identifier hs-type">geInt8</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#ltInt8"><span class="hs-identifier hs-type">ltInt8</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#leInt8"><span class="hs-identifier hs-type">leInt8</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Bool"><span class="hs-identifier hs-type">Bool</span></a></span><span>
</span><span id="line-84"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510087"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510087"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="gtInt8"><span class="annot"><span class="annottext">gtInt8 :: Int8 -&gt; Int8 -&gt; Bool
</span><a href="GHC.Int.html#gtInt8"><span class="hs-operator hs-var hs-var">`gtInt8`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510086"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510086"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510087"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%23"><span class="hs-operator hs-var">&gt;#</span></a></span><span>  </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510086"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-85"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510085"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510085"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="geInt8"><span class="annot"><span class="annottext">geInt8 :: Int8 -&gt; Int8 -&gt; Bool
</span><a href="GHC.Int.html#geInt8"><span class="hs-operator hs-var hs-var">`geInt8`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510084"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510084"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510085"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510084"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-86"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510083"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510083"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="ltInt8"><span class="annot"><span class="annottext">ltInt8 :: Int8 -&gt; Int8 -&gt; Bool
</span><a href="GHC.Int.html#ltInt8"><span class="hs-operator hs-var hs-var">`ltInt8`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510082"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510082"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510083"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3C%23"><span class="hs-operator hs-var">&lt;#</span></a></span><span>  </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510082"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-87"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510081"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510081"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="leInt8"><span class="annot"><span class="annottext">leInt8 :: Int8 -&gt; Int8 -&gt; Bool
</span><a href="GHC.Int.html#leInt8"><span class="hs-operator hs-var hs-var">`leInt8`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510080"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510080"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510081"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3C%3D%23"><span class="hs-operator hs-var">&lt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510080"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-88"></span><span>
</span><span id="line-89"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-90"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679510075"><span id="local-6989586621679510077"><span class="annot"><a href="GHC.Show.html#Show"><span class="hs-identifier hs-type">Show</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-91"></span><span>    </span><span id="local-6989586621679510067"><span class="annot"><span class="annottext">showsPrec :: Int -&gt; Int8 -&gt; ShowS
</span><a href="GHC.Show.html#showsPrec"><span class="hs-identifier hs-var hs-var hs-var hs-var">showsPrec</span></a></span></span><span> </span><span id="local-6989586621679510065"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679510065"><span class="hs-identifier hs-var">p</span></a></span></span><span> </span><span id="local-6989586621679510064"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679510064"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; ShowS
forall a. Show a =&gt; Int -&gt; a -&gt; ShowS
</span><a href="GHC.Show.html#showsPrec"><span class="hs-identifier hs-var">showsPrec</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679510065"><span class="hs-identifier hs-var">p</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int8 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679510064"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-identifier hs-type">Int</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-92"></span><span>
</span><span id="line-93"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-94"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Num.html#Num"><span class="hs-identifier hs-type">Num</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-95"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510054"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510054"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679510053"><span class="annot"><span class="annottext">+ :: Int8 -&gt; Int8 -&gt; Int8
</span><a href="GHC.Num.html#%2B"><span class="hs-operator hs-var hs-var hs-var hs-var">+</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510051"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510051"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>    </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510054"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%2B%23"><span class="hs-operator hs-var">+#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510051"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-96"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510050"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510050"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679510049"><span class="annot"><span class="annottext">- :: Int8 -&gt; Int8 -&gt; Int8
</span><a href="GHC.Num.html#-"><span class="hs-glyph hs-var hs-var hs-var hs-var">-</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510048"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510048"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>    </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510050"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#-%23"><span class="hs-operator hs-var">-#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510048"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-97"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510047"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510047"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679510046"><span class="annot"><span class="annottext">* :: Int8 -&gt; Int8 -&gt; Int8
</span><a href="GHC.Num.html#%2A"><span class="hs-operator hs-var hs-var hs-var hs-var">*</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510044"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510044"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>    </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510047"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%2A%23"><span class="hs-operator hs-var">*#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510044"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-98"></span><span>    </span><span id="local-6989586621679510043"><span class="annot"><span class="annottext">negate :: Int8 -&gt; Int8
</span><a href="GHC.Num.html#negate"><span class="hs-identifier hs-var hs-var hs-var hs-var">negate</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679510042"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510042"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#negateInt%23"><span class="hs-identifier hs-var">negateInt#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679510042"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-99"></span><span>    </span><span id="local-6989586621679510038"><span class="annot"><span class="annottext">abs :: Int8 -&gt; Int8
</span><a href="GHC.Num.html#abs"><span class="hs-identifier hs-var hs-var hs-var hs-var">abs</span></a></span></span><span> </span><span id="local-6989586621679510036"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679510036"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679510036"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E%3D"><span class="hs-operator hs-var">&gt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0</span></span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679510036"><span class="hs-identifier hs-var">x</span></a></span><span>
</span><span id="line-100"></span><span>          </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8
forall a. Num a =&gt; a -&gt; a
</span><a href="GHC.Num.html#negate"><span class="hs-identifier hs-var">negate</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679510036"><span class="hs-identifier hs-var">x</span></a></span><span>
</span><span id="line-101"></span><span>    </span><span id="local-6989586621679510028"><span class="annot"><span class="annottext">signum :: Int8 -&gt; Int8
</span><a href="GHC.Num.html#signum"><span class="hs-identifier hs-var hs-var hs-var hs-var">signum</span></a></span></span><span> </span><span id="local-6989586621679510026"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679510026"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679510026"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E"><span class="hs-operator hs-var">&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0</span></span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">1</span></span><span>
</span><span id="line-102"></span><span>    </span><span class="annot"><a href="GHC.Num.html#signum"><span class="hs-identifier hs-var">signum</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0</span></span><span>               </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0</span></span><span>
</span><span id="line-103"></span><span>    </span><span class="annot"><a href="GHC.Num.html#signum"><span class="hs-identifier hs-var">signum</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-identifier">_</span></span><span>               </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">-1</span></span><span>
</span><span id="line-104"></span><span>    </span><span id="local-6989586621679510025"><span class="annot"><span class="annottext">fromInteger :: Integer -&gt; Int8
</span><a href="GHC.Num.html#fromInteger"><span class="hs-identifier hs-var hs-var hs-var hs-var">fromInteger</span></a></span></span><span> </span><span id="local-6989586621679510024"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679510024"><span class="hs-identifier hs-var">i</span></a></span></span><span>          </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Integer -&gt; Int#
</span><a href="../../ghc-bignum/src/GHC.Num.Integer.html#integerToInt%23"><span class="hs-identifier hs-var">integerToInt#</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679510024"><span class="hs-identifier hs-var">i</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-105"></span><span>
</span><span id="line-106"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-107"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Real.html#Real"><span class="hs-identifier hs-type">Real</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-108"></span><span>    </span><span id="local-6989586621679510011"><span class="annot"><span class="annottext">toRational :: Int8 -&gt; Rational
</span><a href="GHC.Real.html#toRational"><span class="hs-identifier hs-var hs-var hs-var hs-var">toRational</span></a></span></span><span> </span><span id="local-6989586621679510010"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679510010"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Integer
forall a. Integral a =&gt; a -&gt; Integer
</span><a href="GHC.Real.html#toInteger"><span class="hs-identifier hs-var">toInteger</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679510010"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Integer -&gt; Integer -&gt; Rational
forall a. Integral a =&gt; a -&gt; a -&gt; Ratio a
</span><a href="GHC.Real.html#%25"><span class="hs-operator hs-var">%</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><span class="hs-number">1</span></span><span>
</span><span id="line-109"></span><span>
</span><span id="line-110"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-111"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509999"><span id="local-6989586621679510001"><span class="annot"><a href="GHC.Enum.html#Enum"><span class="hs-identifier hs-type">Enum</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-112"></span><span>    </span><span id="local-6989586621679509992"><span class="annot"><span class="annottext">succ :: Int8 -&gt; Int8
</span><a href="GHC.Enum.html#succ"><span class="hs-identifier hs-var hs-var hs-var hs-var">succ</span></a></span></span><span> </span><span id="local-6989586621679509990"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509990"><span class="hs-identifier hs-var">x</span></a></span></span><span>
</span><span id="line-113"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509990"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%2F%3D"><span class="hs-operator hs-var">/=</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#maxBound"><span class="hs-identifier hs-var">maxBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509990"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Int8
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="GHC.Num.html#%2B"><span class="hs-operator hs-var">+</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">1</span></span><span>
</span><span id="line-114"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Int8
forall a. String -&gt; a
</span><a href="GHC.Enum.html#succError"><span class="hs-identifier hs-var">succError</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Int8&quot;</span></span><span>
</span><span id="line-115"></span><span>    </span><span id="local-6989586621679509983"><span class="annot"><span class="annottext">pred :: Int8 -&gt; Int8
</span><a href="GHC.Enum.html#pred"><span class="hs-identifier hs-var hs-var hs-var hs-var">pred</span></a></span></span><span> </span><span id="local-6989586621679509981"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509981"><span class="hs-identifier hs-var">x</span></a></span></span><span>
</span><span id="line-116"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509981"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%2F%3D"><span class="hs-operator hs-var">/=</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509981"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Int8
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">1</span></span><span>
</span><span id="line-117"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Int8
forall a. String -&gt; a
</span><a href="GHC.Enum.html#predError"><span class="hs-identifier hs-var">predError</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Int8&quot;</span></span><span>
</span><span id="line-118"></span><span>    </span><span id="local-6989586621679509966"><span class="annot"><span class="annottext">toEnum :: Int -&gt; Int8
</span><a href="GHC.Enum.html#toEnum"><span class="hs-identifier hs-var hs-var hs-var hs-var">toEnum</span></a></span></span><span> </span><span id="local-6989586621679509964"><span class="annot"><span class="annottext">i :: Int
</span><a href="#local-6989586621679509964"><span class="hs-identifier hs-var">i</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509963"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509963"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-119"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509964"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E%3D"><span class="hs-operator hs-var">&gt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int8
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509964"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C%3D"><span class="hs-operator hs-var">&lt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int8
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#maxBound"><span class="hs-identifier hs-var">maxBound</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-120"></span><span>                        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509963"><span class="hs-identifier hs-var">i#</span></a></span><span>
</span><span id="line-121"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Int -&gt; (Int8, Int8) -&gt; Int8
forall a b. Show a =&gt; String -&gt; Int -&gt; (a, a) -&gt; b
</span><a href="GHC.Enum.html#toEnumError"><span class="hs-identifier hs-var">toEnumError</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Int8&quot;</span></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509964"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int8
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int8
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#maxBound"><span class="hs-identifier hs-var">maxBound</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-122"></span><span>    </span><span id="local-6989586621679509960"><span class="annot"><span class="annottext">fromEnum :: Int8 -&gt; Int
</span><a href="GHC.Enum.html#fromEnum"><span class="hs-identifier hs-var hs-var hs-var hs-var">fromEnum</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509958"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509958"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>   </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509958"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-123"></span><span>    </span><span class="hs-comment">-- See Note [Stable Unfolding for list producers] in GHC.Enum</span><span>
</span><span id="line-124"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="GHC.Enum.html#enumFrom"><span class="hs-pragma hs-type">enumFrom</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-125"></span><span>    </span><span id="local-6989586621679509955"><span class="annot"><span class="annottext">enumFrom :: Int8 -&gt; [Int8]
</span><a href="GHC.Enum.html#enumFrom"><span class="hs-identifier hs-var hs-var hs-var hs-var">enumFrom</span></a></span></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; [Int8]
forall a. (Enum a, Bounded a) =&gt; a -&gt; [a]
</span><a href="GHC.Enum.html#boundedEnumFrom"><span class="hs-identifier hs-var">boundedEnumFrom</span></a></span><span>
</span><span id="line-126"></span><span>    </span><span class="hs-comment">-- See Note [Stable Unfolding for list producers] in GHC.Enum</span><span>
</span><span id="line-127"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="GHC.Enum.html#enumFromThen"><span class="hs-pragma hs-type">enumFromThen</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-128"></span><span>    </span><span id="local-6989586621679509951"><span class="annot"><span class="annottext">enumFromThen :: Int8 -&gt; Int8 -&gt; [Int8]
</span><a href="GHC.Enum.html#enumFromThen"><span class="hs-identifier hs-var hs-var hs-var hs-var">enumFromThen</span></a></span></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; [Int8]
forall a. (Enum a, Bounded a) =&gt; a -&gt; a -&gt; [a]
</span><a href="GHC.Enum.html#boundedEnumFromThen"><span class="hs-identifier hs-var">boundedEnumFromThen</span></a></span><span>
</span><span id="line-129"></span><span>
</span><span id="line-130"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-131"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Real.html#Integral"><span class="hs-identifier hs-type">Integral</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-132"></span><span>    </span><span id="local-6989586621679509931"><span class="annot"><span class="annottext">quot :: Int8 -&gt; Int8 -&gt; Int8
</span><a href="GHC.Real.html#quot"><span class="hs-identifier hs-var hs-var hs-var hs-var">quot</span></a></span></span><span>    </span><span id="local-6989586621679509929"><span class="annot"><span class="annottext">x :: Int8
</span><a href="#local-6989586621679509929"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509928"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509928"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509927"><span class="annot"><span class="annottext">y :: Int8
</span><a href="#local-6989586621679509927"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509926"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509926"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-133"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509927"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-134"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509927"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509929"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span> </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-135"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509928"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#quotInt%23"><span class="hs-operator hs-var">`quotInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509926"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-136"></span><span>    </span><span id="local-6989586621679509921"><span class="annot"><span class="annottext">rem :: Int8 -&gt; Int8 -&gt; Int8
</span><a href="GHC.Real.html#rem"><span class="hs-identifier hs-var hs-var hs-var hs-var">rem</span></a></span></span><span>     </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509919"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509919"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509918"><span class="annot"><span class="annottext">y :: Int8
</span><a href="#local-6989586621679509918"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509917"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509917"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-137"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509918"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-138"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509919"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#remInt%23"><span class="hs-operator hs-var">`remInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509917"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-139"></span><span>    </span><span id="local-6989586621679509910"><span class="annot"><span class="annottext">div :: Int8 -&gt; Int8 -&gt; Int8
</span><a href="GHC.Real.html#div"><span class="hs-identifier hs-var hs-var hs-var hs-var">div</span></a></span></span><span>     </span><span id="local-6989586621679509908"><span class="annot"><span class="annottext">x :: Int8
</span><a href="#local-6989586621679509908"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509907"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509907"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509906"><span class="annot"><span class="annottext">y :: Int8
</span><a href="#local-6989586621679509906"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509905"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509905"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-140"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509906"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-141"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509906"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509908"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span> </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-142"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509907"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Classes.html#divInt%23"><span class="hs-operator hs-var">`divInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509905"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-143"></span><span>    </span><span id="local-6989586621679509902"><span class="annot"><span class="annottext">mod :: Int8 -&gt; Int8 -&gt; Int8
</span><a href="GHC.Real.html#mod"><span class="hs-identifier hs-var hs-var hs-var hs-var">mod</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509900"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509900"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509899"><span class="annot"><span class="annottext">y :: Int8
</span><a href="#local-6989586621679509899"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509898"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509898"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-144"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509899"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-145"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509900"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Classes.html#modInt%23"><span class="hs-operator hs-var">`modInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509898"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-146"></span><span>    </span><span id="local-6989586621679509890"><span class="annot"><span class="annottext">quotRem :: Int8 -&gt; Int8 -&gt; (Int8, Int8)
</span><a href="GHC.Real.html#quotRem"><span class="hs-identifier hs-var hs-var hs-var hs-var">quotRem</span></a></span></span><span> </span><span id="local-6989586621679509888"><span class="annot"><span class="annottext">x :: Int8
</span><a href="#local-6989586621679509888"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509887"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509887"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509886"><span class="annot"><span class="annottext">y :: Int8
</span><a href="#local-6989586621679509886"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509885"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509885"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-147"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509886"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Int8, Int8)
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-148"></span><span>          </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-149"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509886"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509888"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int8
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0</span></span><span class="hs-special">)</span><span>
</span><span id="line-150"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509887"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; (# Int#, Int# #)
</span><a href="../../ghc-prim/src/GHC.Prim.html#quotRemInt%23"><span class="hs-operator hs-var">`quotRemInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509885"><span class="hs-identifier hs-var">y#</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-151"></span><span>                                       </span><span class="hs-special">(#</span><span> </span><span id="local-6989586621679509884"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509884"><span class="hs-identifier hs-var">q</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679509883"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509883"><span class="hs-identifier hs-var">r</span></a></span></span><span> </span><span class="hs-special">#)</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-152"></span><span>                                           </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509884"><span class="hs-identifier hs-var">q</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-153"></span><span>                                            </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509883"><span class="hs-identifier hs-var">r</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-154"></span><span>    </span><span id="local-6989586621679509875"><span class="annot"><span class="annottext">divMod :: Int8 -&gt; Int8 -&gt; (Int8, Int8)
</span><a href="GHC.Real.html#divMod"><span class="hs-identifier hs-var hs-var hs-var hs-var">divMod</span></a></span></span><span>  </span><span id="local-6989586621679509873"><span class="annot"><span class="annottext">x :: Int8
</span><a href="#local-6989586621679509873"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509872"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509872"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509871"><span class="annot"><span class="annottext">y :: Int8
</span><a href="#local-6989586621679509871"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509870"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509870"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-155"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509871"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Int8, Int8)
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-156"></span><span>          </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-157"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509871"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509873"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int8
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0</span></span><span class="hs-special">)</span><span>
</span><span id="line-158"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509872"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; (# Int#, Int# #)
</span><a href="GHC.Base.html#divModInt%23"><span class="hs-operator hs-var">`divModInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509870"><span class="hs-identifier hs-var">y#</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-159"></span><span>                                       </span><span class="hs-special">(#</span><span> </span><span id="local-6989586621679509868"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509868"><span class="hs-identifier hs-var">d</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679509867"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509867"><span class="hs-identifier hs-var">m</span></a></span></span><span> </span><span class="hs-special">#)</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-160"></span><span>                                           </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509868"><span class="hs-identifier hs-var">d</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-161"></span><span>                                            </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509867"><span class="hs-identifier hs-var">m</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-162"></span><span>    </span><span id="local-6989586621679509866"><span class="annot"><span class="annottext">toInteger :: Int8 -&gt; Integer
</span><a href="GHC.Real.html#toInteger"><span class="hs-identifier hs-var hs-var hs-var hs-var">toInteger</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509865"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509865"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>               </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Integer
</span><a href="../../ghc-bignum/src/GHC.Num.Integer.html#IS"><span class="hs-identifier hs-var">IS</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509865"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-163"></span><span>
</span><span id="line-164"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-165"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Enum.html#Bounded"><span class="hs-identifier hs-type">Bounded</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-166"></span><span>    </span><span id="local-6989586621679509860"><span class="annot"><span class="annottext">minBound :: Int8
</span><a href="#local-6989586621679509860"><span class="hs-identifier hs-var hs-var hs-var hs-var">minBound</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">-0x80</span></span><span>
</span><span id="line-167"></span><span>    </span><span id="local-6989586621679509858"><span class="annot"><span class="annottext">maxBound :: Int8
</span><a href="#local-6989586621679509858"><span class="hs-identifier hs-var hs-var hs-var hs-var">maxBound</span></a></span></span><span> </span><span class="hs-glyph">=</span><span>  </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-number">0x7F</span></span><span>
</span><span id="line-168"></span><span>
</span><span id="line-169"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-170"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509847"><span id="local-6989586621679509849"><span id="local-6989586621679509853"><span class="annot"><a href="GHC.Ix.html#Ix"><span class="hs-identifier hs-type">Ix</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-171"></span><span>    </span><span id="local-6989586621679509844"><span class="annot"><span class="annottext">range :: (Int8, Int8) -&gt; [Int8]
</span><a href="GHC.Ix.html#range"><span class="hs-identifier hs-var hs-var hs-var hs-var">range</span></a></span></span><span> </span><span class="hs-special">(</span><span id="local-6989586621679509842"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509842"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">,</span><span id="local-6989586621679509841"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509841"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509842"><span class="hs-identifier hs-var">m</span></a></span><span class="hs-glyph">..</span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509841"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-172"></span><span>    </span><span id="local-6989586621679509835"><span class="annot"><span class="annottext">unsafeIndex :: (Int8, Int8) -&gt; Int8 -&gt; Int
</span><a href="GHC.Ix.html#unsafeIndex"><span class="hs-identifier hs-var hs-var hs-var hs-var">unsafeIndex</span></a></span></span><span> </span><span class="hs-special">(</span><span id="local-6989586621679509833"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509833"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">,</span><span class="annot"><span class="annottext">Int8
</span><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509832"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509832"><span class="hs-identifier hs-var">i</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509832"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Int
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509833"><span class="hs-identifier hs-var">m</span></a></span><span>
</span><span id="line-173"></span><span>    </span><span id="local-6989586621679509829"><span class="annot"><span class="annottext">inRange :: (Int8, Int8) -&gt; Int8 -&gt; Bool
</span><a href="GHC.Ix.html#inRange"><span class="hs-identifier hs-var hs-var hs-var hs-var">inRange</span></a></span></span><span> </span><span class="hs-special">(</span><span id="local-6989586621679509827"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509827"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">,</span><span id="local-6989586621679509826"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509826"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509825"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509825"><span class="hs-identifier hs-var">i</span></a></span></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509827"><span class="hs-identifier hs-var">m</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C%3D"><span class="hs-operator hs-var">&lt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509825"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509825"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int8 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C%3D"><span class="hs-operator hs-var">&lt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509826"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-174"></span><span>
</span><span id="line-175"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-176"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509818"><span id="local-6989586621679509820"><span id="local-6989586621679509822"><span class="annot"><a href="GHC.Read.html#Read"><span class="hs-identifier hs-type">Read</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-177"></span><span>    </span><span id="local-6989586621679509811"><span class="annot"><span class="annottext">readsPrec :: Int -&gt; ReadS Int8
</span><a href="GHC.Read.html#readsPrec"><span class="hs-identifier hs-var hs-var hs-var hs-var">readsPrec</span></a></span></span><span> </span><span id="local-6989586621679509809"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509809"><span class="hs-identifier hs-var">p</span></a></span></span><span> </span><span id="local-6989586621679509808"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679509808"><span class="hs-identifier hs-var">s</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int -&gt; Int8
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509807"><span class="hs-identifier hs-var">x</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-identifier hs-type">Int</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679509806"><span class="hs-identifier hs-var">r</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">|</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679509807"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509807"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679509806"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679509806"><span class="hs-identifier hs-var">r</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">Int -&gt; ReadS Int
forall a. Read a =&gt; Int -&gt; ReadS a
</span><a href="GHC.Read.html#readsPrec"><span class="hs-identifier hs-var">readsPrec</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509809"><span class="hs-identifier hs-var">p</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679509808"><span class="hs-identifier hs-var">s</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-178"></span><span>
</span><span id="line-179"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-180"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509777"><span id="local-6989586621679509779"><span id="local-6989586621679509789"><span id="local-6989586621679509791"><span id="local-6989586621679509793"><span id="local-6989586621679509796"><span class="annot"><a href="Data.Bits.html#Bits"><span class="hs-identifier hs-type">Bits</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span></span></span></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-181"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#shift"><span class="hs-pragma hs-type">shift</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-182"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#bit"><span class="hs-pragma hs-type">bit</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-183"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#testBit"><span class="hs-pragma hs-type">testBit</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-184"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#popCount"><span class="hs-pragma hs-type">popCount</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-185"></span><span>
</span><span id="line-186"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509770"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509770"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509769"><span class="annot"><span class="annottext">.&amp;. :: Int8 -&gt; Int8 -&gt; Int8
</span><a href="Data.Bits.html#.%26."><span class="hs-operator hs-var hs-var hs-var hs-var">.&amp;.</span></a></span></span><span>   </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509767"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509767"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>   </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509770"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#andI%23"><span class="hs-operator hs-var">`andI#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509767"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-187"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509766"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509766"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509765"><span class="annot"><span class="annottext">.|. :: Int8 -&gt; Int8 -&gt; Int8
</span><a href="Data.Bits.html#.%7C."><span class="hs-operator hs-var hs-var hs-var hs-var">.|.</span></a></span></span><span>   </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509763"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509763"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>   </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509766"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#orI%23"><span class="hs-operator hs-var">`orI#`</span></a></span><span>  </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509763"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-188"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509762"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509762"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509761"><span class="annot"><span class="annottext">xor :: Int8 -&gt; Int8 -&gt; Int8
</span><a href="Data.Bits.html#xor"><span class="hs-operator hs-var hs-var hs-var hs-var">`xor`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509759"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509759"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>   </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509762"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#xorI%23"><span class="hs-operator hs-var">`xorI#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509759"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-189"></span><span>    </span><span id="local-6989586621679509758"><span class="annot"><span class="annottext">complement :: Int8 -&gt; Int8
</span><a href="Data.Bits.html#complement"><span class="hs-identifier hs-var hs-var hs-var hs-var">complement</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509756"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509756"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#notI%23"><span class="hs-identifier hs-var">notI#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509756"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-190"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509755"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509755"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509754"><span class="annot"><span class="annottext">shift :: Int8 -&gt; Int -&gt; Int8
</span><a href="#local-6989586621679509754"><span class="hs-operator hs-var hs-var hs-var hs-var">`shift`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509753"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509753"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-191"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509753"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509755"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftL%23"><span class="hs-operator hs-var">`iShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509753"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-192"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>           </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509755"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftRA%23"><span class="hs-operator hs-var">`iShiftRA#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#negateInt%23"><span class="hs-identifier hs-var">negateInt#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509753"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-193"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509750"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509750"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509749"><span class="annot"><span class="annottext">shiftL :: Int8 -&gt; Int -&gt; Int8
</span><a href="Data.Bits.html#shiftL"><span class="hs-operator hs-var hs-var hs-var hs-var">`shiftL`</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509747"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509747"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-194"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509747"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509750"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftL%23"><span class="hs-operator hs-var">`iShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509747"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-195"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>           </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span>
</span><span id="line-196"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509746"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509746"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509745"><span class="annot"><span class="annottext">unsafeShiftL :: Int8 -&gt; Int -&gt; Int8
</span><a href="Data.Bits.html#unsafeShiftL"><span class="hs-operator hs-var hs-var hs-var hs-var">`unsafeShiftL`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509743"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509743"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509746"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedIShiftL%23"><span class="hs-operator hs-var">`uncheckedIShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509743"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-197"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509742"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509742"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509741"><span class="annot"><span class="annottext">shiftR :: Int8 -&gt; Int -&gt; Int8
</span><a href="Data.Bits.html#shiftR"><span class="hs-operator hs-var hs-var hs-var hs-var">`shiftR`</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509739"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509739"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-198"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509739"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509742"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftRA%23"><span class="hs-operator hs-var">`iShiftRA#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509739"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-199"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>           </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span>
</span><span id="line-200"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509738"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509738"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509737"><span class="annot"><span class="annottext">unsafeShiftR :: Int8 -&gt; Int -&gt; Int8
</span><a href="Data.Bits.html#unsafeShiftR"><span class="hs-operator hs-var hs-var hs-var hs-var">`unsafeShiftR`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509735"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509735"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509738"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedIShiftRA%23"><span class="hs-operator hs-var">`uncheckedIShiftRA#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509735"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-201"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509734"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509734"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509733"><span class="annot"><span class="annottext">rotate :: Int8 -&gt; Int -&gt; Int8
</span><a href="Data.Bits.html#rotate"><span class="hs-operator hs-var hs-var hs-var hs-var">`rotate`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509731"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509731"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-202"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509730"><span class="hs-identifier hs-var">i'#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3D%3D%23"><span class="hs-operator hs-var">==#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>
</span><span id="line-203"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509734"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-204"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>
</span><span id="line-205"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int8
</span><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-var">I8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-identifier hs-var">narrow8Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word#
</span><a href="#local-6989586621679509729"><span class="hs-identifier hs-var">x'#</span></a></span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedShiftL%23"><span class="hs-operator hs-var">`uncheckedShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509730"><span class="hs-identifier hs-var">i'#</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#or%23"><span class="hs-operator hs-var">`or#`</span></a></span><span>
</span><span id="line-206"></span><span>                                       </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word#
</span><a href="#local-6989586621679509729"><span class="hs-identifier hs-var">x'#</span></a></span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedShiftRL%23"><span class="hs-operator hs-var">`uncheckedShiftRL#`</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">8#</span></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#-%23"><span class="hs-operator hs-var">-#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509730"><span class="hs-identifier hs-var">i'#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-207"></span><span>        </span><span class="hs-keyword">where</span><span>
</span><span id="line-208"></span><span>        </span><span class="hs-glyph">!</span><span id="local-6989586621679509729"><span class="annot"><span class="annottext">x'# :: Word#
</span><a href="#local-6989586621679509729"><span class="hs-identifier hs-var hs-var">x'#</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Word%23"><span class="hs-identifier hs-var">narrow8Word#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509734"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-209"></span><span>        </span><span class="hs-glyph">!</span><span id="local-6989586621679509730"><span class="annot"><span class="annottext">i'# :: Int#
</span><a href="#local-6989586621679509730"><span class="hs-identifier hs-var hs-var">i'#</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509731"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#and%23"><span class="hs-operator hs-var">`and#`</span></a></span><span> </span><span class="annot"><span class="annottext">Word#
</span><span class="hs-number">7##</span></span><span class="hs-special">)</span><span>
</span><span id="line-210"></span><span>    </span><span id="local-6989586621679509726"><span class="annot"><span class="annottext">bitSizeMaybe :: Int8 -&gt; Maybe Int
</span><a href="Data.Bits.html#bitSizeMaybe"><span class="hs-identifier hs-var hs-var hs-var hs-var">bitSizeMaybe</span></a></span></span><span> </span><span id="local-6989586621679509724"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509724"><span class="hs-identifier hs-var">i</span></a></span></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Maybe Int
forall a. a -&gt; Maybe a
</span><a href="GHC.Maybe.html#Just"><span class="hs-identifier hs-var">Just</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int8 -&gt; Int
forall b. FiniteBits b =&gt; b -&gt; Int
</span><a href="Data.Bits.html#finiteBitSize"><span class="hs-identifier hs-var">finiteBitSize</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509724"><span class="hs-identifier hs-var">i</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-211"></span><span>    </span><span id="local-6989586621679509721"><span class="annot"><span class="annottext">bitSize :: Int8 -&gt; Int
</span><a href="Data.Bits.html#bitSize"><span class="hs-identifier hs-var hs-var hs-var hs-var">bitSize</span></a></span></span><span> </span><span id="local-6989586621679509719"><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509719"><span class="hs-identifier hs-var">i</span></a></span></span><span>                 </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int
forall b. FiniteBits b =&gt; b -&gt; Int
</span><a href="Data.Bits.html#finiteBitSize"><span class="hs-identifier hs-var">finiteBitSize</span></a></span><span> </span><span class="annot"><span class="annottext">Int8
</span><a href="#local-6989586621679509719"><span class="hs-identifier hs-var">i</span></a></span><span>
</span><span id="line-212"></span><span>    </span><span id="local-6989586621679509718"><span class="annot"><span class="annottext">isSigned :: Int8 -&gt; Bool
</span><a href="Data.Bits.html#isSigned"><span class="hs-identifier hs-var hs-var hs-var hs-var">isSigned</span></a></span></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-identifier">_</span></span><span>                </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#True"><span class="hs-identifier hs-var">True</span></a></span><span>
</span><span id="line-213"></span><span>    </span><span id="local-6989586621679509716"><span class="annot"><span class="annottext">popCount :: Int8 -&gt; Int
</span><a href="#local-6989586621679509716"><span class="hs-identifier hs-var hs-var hs-var hs-var">popCount</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509715"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509715"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#popCnt8%23"><span class="hs-identifier hs-var">popCnt8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509715"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-214"></span><span>    </span><span id="local-6989586621679509712"><span class="annot"><span class="annottext">bit :: Int -&gt; Int8
</span><a href="#local-6989586621679509712"><span class="hs-identifier hs-var hs-var hs-var hs-var">bit</span></a></span></span><span>                       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int8
forall a. (Bits a, Num a) =&gt; Int -&gt; a
</span><a href="Data.Bits.html#bitDefault"><span class="hs-identifier hs-var">bitDefault</span></a></span><span>
</span><span id="line-215"></span><span>    </span><span id="local-6989586621679509708"><span class="annot"><span class="annottext">testBit :: Int8 -&gt; Int -&gt; Bool
</span><a href="#local-6989586621679509708"><span class="hs-identifier hs-var hs-var hs-var hs-var">testBit</span></a></span></span><span>                   </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int8 -&gt; Int -&gt; Bool
forall a. (Bits a, Num a) =&gt; a -&gt; Int -&gt; Bool
</span><a href="Data.Bits.html#testBitDefault"><span class="hs-identifier hs-var">testBitDefault</span></a></span><span>
</span><span id="line-216"></span><span>
</span><span id="line-217"></span><span class="hs-comment">-- | @since 4.6.0.0</span><span>
</span><span id="line-218"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="Data.Bits.html#FiniteBits"><span class="hs-identifier hs-type">FiniteBits</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-identifier hs-type">Int8</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-219"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#countLeadingZeros"><span class="hs-pragma hs-type">countLeadingZeros</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-220"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#countTrailingZeros"><span class="hs-pragma hs-type">countTrailingZeros</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-221"></span><span>    </span><span id="local-6989586621679509698"><span class="annot"><span class="annottext">finiteBitSize :: Int8 -&gt; Int
</span><a href="#local-6989586621679509698"><span class="hs-identifier hs-var hs-var hs-var hs-var">finiteBitSize</span></a></span></span><span> </span><span class="annot"><span class="annottext">Int8
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">8</span></span><span>
</span><span id="line-222"></span><span>    </span><span id="local-6989586621679509697"><span class="annot"><span class="annottext">countLeadingZeros :: Int8 -&gt; Int
</span><a href="#local-6989586621679509697"><span class="hs-identifier hs-var hs-var hs-var hs-var">countLeadingZeros</span></a></span></span><span>  </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509696"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509696"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#clz8%23"><span class="hs-identifier hs-var">clz8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509696"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-223"></span><span>    </span><span id="local-6989586621679509695"><span class="annot"><span class="annottext">countTrailingZeros :: Int8 -&gt; Int
</span><a href="#local-6989586621679509695"><span class="hs-identifier hs-var hs-var hs-var hs-var">countTrailingZeros</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-identifier hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509694"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509694"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#ctz8%23"><span class="hs-identifier hs-var">ctz8#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509694"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-224"></span><span>
</span><span id="line-225"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-226"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int8-&gt;Int8&quot;</span></span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="annot"><a href="GHC.Base.html#id"><span class="hs-pragma hs-type">id</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span>
</span><span id="line-227"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/a-&gt;Int8&quot;</span></span><span>    </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span id="local-6989586621679509692"><span class="annot"><a href="#local-6989586621679509692"><span class="hs-pragma hs-var">x</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">case</span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509692"><span class="hs-pragma hs-type">x</span></a></span><span> </span><span class="hs-pragma">of</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-pragma hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509691"><span class="annot"><a href="#local-6989586621679509691"><span class="hs-pragma hs-var">x#</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-pragma hs-type">I8#</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#narrow8Int%23"><span class="hs-pragma hs-type">narrow8Int#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509691"><span class="hs-pragma hs-type">x#</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-228"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int8-&gt;a&quot;</span></span><span>    </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-pragma hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509690"><span class="annot"><a href="#local-6989586621679509690"><span class="hs-pragma hs-var">x#</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-pragma hs-type">I#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509690"><span class="hs-pragma hs-type">x#</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-229"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-230"></span><span>
</span><span id="line-231"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-232"></span><span class="annot"><span class="hs-pragma">&quot;properFraction/Float-&gt;(Int8,Float)&quot;</span></span><span>
</span><span id="line-233"></span><span>    </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span id="local-6989586621679509688"><span class="annot"><a href="#local-6989586621679509688"><span class="hs-pragma hs-var">x</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span>
</span><span id="line-234"></span><span>                      </span><span class="hs-pragma">case</span><span> </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509688"><span class="hs-pragma hs-type">x</span></a></span><span> </span><span class="hs-pragma">of</span><span> </span><span class="hs-pragma">{</span><span>
</span><span id="line-235"></span><span>                        </span><span class="hs-pragma">(</span><span id="local-6989586621679509687"><span class="annot"><a href="#local-6989586621679509687"><span class="hs-pragma hs-var">n</span></a></span></span><span class="hs-pragma">,</span><span> </span><span id="local-6989586621679509686"><span class="annot"><a href="#local-6989586621679509686"><span class="hs-pragma hs-var">y</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="#local-6989586621679509687"><span class="hs-pragma hs-type">n</span></a></span><span class="hs-pragma">,</span><span> </span><span class="annot"><a href="#local-6989586621679509686"><span class="hs-pragma hs-type">y</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">}</span><span>
</span><span id="line-236"></span><span class="annot"><span class="hs-pragma">&quot;truncate/Float-&gt;Int8&quot;</span></span><span>
</span><span id="line-237"></span><span>    </span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-238"></span><span class="annot"><span class="hs-pragma">&quot;floor/Float-&gt;Int8&quot;</span></span><span>
</span><span id="line-239"></span><span>    </span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-240"></span><span class="annot"><span class="hs-pragma">&quot;ceiling/Float-&gt;Int8&quot;</span></span><span>
</span><span id="line-241"></span><span>    </span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span>  </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-242"></span><span class="annot"><span class="hs-pragma">&quot;round/Float-&gt;Int8&quot;</span></span><span>
</span><span id="line-243"></span><span>    </span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>  </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-244"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-245"></span><span>
</span><span id="line-246"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-247"></span><span class="annot"><span class="hs-pragma">&quot;properFraction/Double-&gt;(Int8,Double)&quot;</span></span><span>
</span><span id="line-248"></span><span>    </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span id="local-6989586621679509680"><span class="annot"><a href="#local-6989586621679509680"><span class="hs-pragma hs-var">x</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span>
</span><span id="line-249"></span><span>                      </span><span class="hs-pragma">case</span><span> </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509680"><span class="hs-pragma hs-type">x</span></a></span><span> </span><span class="hs-pragma">of</span><span> </span><span class="hs-pragma">{</span><span>
</span><span id="line-250"></span><span>                        </span><span class="hs-pragma">(</span><span id="local-6989586621679509679"><span class="annot"><a href="#local-6989586621679509679"><span class="hs-pragma hs-var">n</span></a></span></span><span class="hs-pragma">,</span><span> </span><span id="local-6989586621679509678"><span class="annot"><a href="#local-6989586621679509678"><span class="hs-pragma hs-var">y</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="#local-6989586621679509679"><span class="hs-pragma hs-type">n</span></a></span><span class="hs-pragma">,</span><span> </span><span class="annot"><a href="#local-6989586621679509678"><span class="hs-pragma hs-type">y</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">}</span><span>
</span><span id="line-251"></span><span class="annot"><span class="hs-pragma">&quot;truncate/Double-&gt;Int8&quot;</span></span><span>
</span><span id="line-252"></span><span>    </span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-253"></span><span class="annot"><span class="hs-pragma">&quot;floor/Double-&gt;Int8&quot;</span></span><span>
</span><span id="line-254"></span><span>    </span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-255"></span><span class="annot"><span class="hs-pragma">&quot;ceiling/Double-&gt;Int8&quot;</span></span><span>
</span><span id="line-256"></span><span>    </span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span>  </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-257"></span><span class="annot"><span class="hs-pragma">&quot;round/Double-&gt;Int8&quot;</span></span><span>
</span><span id="line-258"></span><span>    </span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>  </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-259"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-260"></span><span>
</span><span id="line-261"></span><span class="hs-comment">------------------------------------------------------------------------</span><span>
</span><span id="line-262"></span><span class="hs-comment">-- type Int16</span><span>
</span><span id="line-263"></span><span class="hs-comment">------------------------------------------------------------------------</span><span>
</span><span id="line-264"></span><span>
</span><span id="line-265"></span><span class="hs-comment">-- Int16 is represented in the same way as Int. Operations may assume</span><span>
</span><span id="line-266"></span><span class="hs-comment">-- and must ensure that it holds only values from its logical range.</span><span>
</span><span id="line-267"></span><span>
</span><span id="line-268"></span><span class="hs-keyword">data</span><span> </span><span class="hs-pragma">{-# CTYPE</span><span> </span><span class="hs-pragma">&quot;HsInt16&quot;</span><span> </span><span class="hs-pragma">#-}</span><span> </span><span id="Int16"><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-var">Int16</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="I16%23"><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span></span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#Int%23"><span class="hs-identifier hs-type">Int#</span></a></span><span>
</span><span id="line-269"></span><span class="hs-comment">-- ^ 16-bit signed integer type</span><span>
</span><span id="line-270"></span><span>
</span><span id="line-271"></span><span class="hs-comment">-- See GHC.Classes#matching_overloaded_methods_in_rules</span><span>
</span><span id="line-272"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-273"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#Eq"><span class="hs-identifier hs-type">Eq</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-274"></span><span>    </span><span id="local-6989586621679509673"><span class="annot"><span class="annottext">== :: Int16 -&gt; Int16 -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var hs-var hs-var hs-var">(==)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
</span><a href="GHC.Int.html#eqInt16"><span class="hs-identifier hs-var">eqInt16</span></a></span><span>
</span><span id="line-275"></span><span>    </span><span id="local-6989586621679509672"><span class="annot"><span class="annottext">/= :: Int16 -&gt; Int16 -&gt; Bool
</span><a href="#local-6989586621679509672"><span class="hs-operator hs-var hs-var hs-var hs-var">(/=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
</span><a href="GHC.Int.html#neInt16"><span class="hs-identifier hs-var">neInt16</span></a></span><span>
</span><span id="line-276"></span><span>
</span><span id="line-277"></span><span class="annot"><a href="GHC.Int.html#eqInt16"><span class="hs-identifier hs-type">eqInt16</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#neInt16"><span class="hs-identifier hs-type">neInt16</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Bool"><span class="hs-identifier hs-type">Bool</span></a></span><span>
</span><span id="line-278"></span><span id="eqInt16"><span class="annot"><span class="annottext">eqInt16 :: Int16 -&gt; Int16 -&gt; Bool
</span><a href="GHC.Int.html#eqInt16"><span class="hs-identifier hs-var hs-var">eqInt16</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509671"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509671"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509670"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509670"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509671"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3D%3D%23"><span class="hs-operator hs-var">==#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509670"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-279"></span><span id="neInt16"><span class="annot"><span class="annottext">neInt16 :: Int16 -&gt; Int16 -&gt; Bool
</span><a href="GHC.Int.html#neInt16"><span class="hs-identifier hs-var hs-var">neInt16</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509669"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509669"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509668"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509668"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509669"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%2F%3D%23"><span class="hs-operator hs-var">/=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509668"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-280"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#eqInt16"><span class="hs-pragma hs-type">eqInt16</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-281"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#neInt16"><span class="hs-pragma hs-type">neInt16</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-282"></span><span>
</span><span id="line-283"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-284"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509656"><span id="local-6989586621679509658"><span id="local-6989586621679509664"><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#Ord"><span class="hs-identifier hs-type">Ord</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-285"></span><span>    </span><span id="local-6989586621679509655"><span class="annot"><span class="annottext">&lt; :: Int16 -&gt; Int16 -&gt; Bool
</span><a href="#local-6989586621679509655"><span class="hs-operator hs-var hs-var hs-var hs-var">(&lt;)</span></a></span></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
</span><a href="GHC.Int.html#ltInt16"><span class="hs-identifier hs-var">ltInt16</span></a></span><span>
</span><span id="line-286"></span><span>    </span><span id="local-6989586621679509654"><span class="annot"><span class="annottext">&lt;= :: Int16 -&gt; Int16 -&gt; Bool
</span><a href="#local-6989586621679509654"><span class="hs-operator hs-var hs-var hs-var hs-var">(&lt;=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
</span><a href="GHC.Int.html#leInt16"><span class="hs-identifier hs-var">leInt16</span></a></span><span>
</span><span id="line-287"></span><span>    </span><span id="local-6989586621679509653"><span class="annot"><span class="annottext">&gt;= :: Int16 -&gt; Int16 -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E%3D"><span class="hs-operator hs-var hs-var hs-var hs-var">(&gt;=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
</span><a href="GHC.Int.html#geInt16"><span class="hs-identifier hs-var">geInt16</span></a></span><span>
</span><span id="line-288"></span><span>    </span><span id="local-6989586621679509652"><span class="annot"><span class="annottext">&gt; :: Int16 -&gt; Int16 -&gt; Bool
</span><a href="#local-6989586621679509652"><span class="hs-operator hs-var hs-var hs-var hs-var">(&gt;)</span></a></span></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
</span><a href="GHC.Int.html#gtInt16"><span class="hs-identifier hs-var">gtInt16</span></a></span><span>
</span><span id="line-289"></span><span>
</span><span id="line-290"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#gtInt16"><span class="hs-pragma hs-type">gtInt16</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-291"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#geInt16"><span class="hs-pragma hs-type">geInt16</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-292"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#ltInt16"><span class="hs-pragma hs-type">ltInt16</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-293"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#leInt16"><span class="hs-pragma hs-type">leInt16</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-294"></span><span class="annot"><a href="GHC.Int.html#gtInt16"><span class="hs-identifier hs-type">gtInt16</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#geInt16"><span class="hs-identifier hs-type">geInt16</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#ltInt16"><span class="hs-identifier hs-type">ltInt16</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#leInt16"><span class="hs-identifier hs-type">leInt16</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Bool"><span class="hs-identifier hs-type">Bool</span></a></span><span>
</span><span id="line-295"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509651"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509651"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="gtInt16"><span class="annot"><span class="annottext">gtInt16 :: Int16 -&gt; Int16 -&gt; Bool
</span><a href="GHC.Int.html#gtInt16"><span class="hs-operator hs-var hs-var">`gtInt16`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509650"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509650"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509651"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%23"><span class="hs-operator hs-var">&gt;#</span></a></span><span>  </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509650"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-296"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509649"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509649"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="geInt16"><span class="annot"><span class="annottext">geInt16 :: Int16 -&gt; Int16 -&gt; Bool
</span><a href="GHC.Int.html#geInt16"><span class="hs-operator hs-var hs-var">`geInt16`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509648"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509648"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509649"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509648"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-297"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509647"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509647"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="ltInt16"><span class="annot"><span class="annottext">ltInt16 :: Int16 -&gt; Int16 -&gt; Bool
</span><a href="GHC.Int.html#ltInt16"><span class="hs-operator hs-var hs-var">`ltInt16`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509646"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509646"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509647"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3C%23"><span class="hs-operator hs-var">&lt;#</span></a></span><span>  </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509646"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-298"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509645"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509645"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="leInt16"><span class="annot"><span class="annottext">leInt16 :: Int16 -&gt; Int16 -&gt; Bool
</span><a href="GHC.Int.html#leInt16"><span class="hs-operator hs-var hs-var">`leInt16`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509644"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509644"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509645"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3C%3D%23"><span class="hs-operator hs-var">&lt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509644"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-299"></span><span>
</span><span id="line-300"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-301"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509639"><span id="local-6989586621679509641"><span class="annot"><a href="GHC.Show.html#Show"><span class="hs-identifier hs-type">Show</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-302"></span><span>    </span><span id="local-6989586621679509634"><span class="annot"><span class="annottext">showsPrec :: Int -&gt; Int16 -&gt; ShowS
</span><a href="#local-6989586621679509634"><span class="hs-identifier hs-var hs-var hs-var hs-var">showsPrec</span></a></span></span><span> </span><span id="local-6989586621679509633"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509633"><span class="hs-identifier hs-var">p</span></a></span></span><span> </span><span id="local-6989586621679509632"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509632"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; ShowS
forall a. Show a =&gt; Int -&gt; a -&gt; ShowS
</span><a href="GHC.Show.html#showsPrec"><span class="hs-identifier hs-var">showsPrec</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509633"><span class="hs-identifier hs-var">p</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int16 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509632"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-identifier hs-type">Int</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-303"></span><span>
</span><span id="line-304"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-305"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Num.html#Num"><span class="hs-identifier hs-type">Num</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-306"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509623"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509623"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509622"><span class="annot"><span class="annottext">+ :: Int16 -&gt; Int16 -&gt; Int16
</span><a href="#local-6989586621679509622"><span class="hs-operator hs-var hs-var hs-var hs-var">+</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509621"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509621"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509623"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%2B%23"><span class="hs-operator hs-var">+#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509621"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-307"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509620"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509620"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509619"><span class="annot"><span class="annottext">- :: Int16 -&gt; Int16 -&gt; Int16
</span><a href="GHC.Num.html#-"><span class="hs-glyph hs-var hs-var hs-var hs-var">-</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509618"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509618"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509620"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#-%23"><span class="hs-operator hs-var">-#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509618"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-308"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509617"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509617"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509616"><span class="annot"><span class="annottext">* :: Int16 -&gt; Int16 -&gt; Int16
</span><a href="#local-6989586621679509616"><span class="hs-operator hs-var hs-var hs-var hs-var">*</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509615"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509615"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509617"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%2A%23"><span class="hs-operator hs-var">*#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509615"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-309"></span><span>    </span><span id="local-6989586621679509614"><span class="annot"><span class="annottext">negate :: Int16 -&gt; Int16
</span><a href="GHC.Num.html#negate"><span class="hs-identifier hs-var hs-var hs-var hs-var">negate</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509613"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509613"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#negateInt%23"><span class="hs-identifier hs-var">negateInt#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509613"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-310"></span><span>    </span><span id="local-6989586621679509609"><span class="annot"><span class="annottext">abs :: Int16 -&gt; Int16
</span><a href="#local-6989586621679509609"><span class="hs-identifier hs-var hs-var hs-var hs-var">abs</span></a></span></span><span> </span><span id="local-6989586621679509608"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509608"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509608"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E%3D"><span class="hs-operator hs-var">&gt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0</span></span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509608"><span class="hs-identifier hs-var">x</span></a></span><span>
</span><span id="line-311"></span><span>          </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16
forall a. Num a =&gt; a -&gt; a
</span><a href="GHC.Num.html#negate"><span class="hs-identifier hs-var">negate</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509608"><span class="hs-identifier hs-var">x</span></a></span><span>
</span><span id="line-312"></span><span>    </span><span id="local-6989586621679509600"><span class="annot"><span class="annottext">signum :: Int16 -&gt; Int16
</span><a href="#local-6989586621679509600"><span class="hs-identifier hs-var hs-var hs-var hs-var">signum</span></a></span></span><span> </span><span id="local-6989586621679509599"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509599"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509599"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E"><span class="hs-operator hs-var">&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0</span></span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">1</span></span><span>
</span><span id="line-313"></span><span>    </span><span class="annot"><a href="GHC.Num.html#signum"><span class="hs-identifier hs-var">signum</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0</span></span><span>               </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0</span></span><span>
</span><span id="line-314"></span><span>    </span><span class="annot"><a href="GHC.Num.html#signum"><span class="hs-identifier hs-var">signum</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-identifier">_</span></span><span>               </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">-1</span></span><span>
</span><span id="line-315"></span><span>    </span><span id="local-6989586621679509598"><span class="annot"><span class="annottext">fromInteger :: Integer -&gt; Int16
</span><a href="GHC.Num.html#fromInteger"><span class="hs-identifier hs-var hs-var hs-var hs-var">fromInteger</span></a></span></span><span> </span><span id="local-6989586621679509597"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679509597"><span class="hs-identifier hs-var">i</span></a></span></span><span>          </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Integer -&gt; Int#
</span><a href="../../ghc-bignum/src/GHC.Num.Integer.html#integerToInt%23"><span class="hs-identifier hs-var">integerToInt#</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679509597"><span class="hs-identifier hs-var">i</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-316"></span><span>
</span><span id="line-317"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-318"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Real.html#Real"><span class="hs-identifier hs-type">Real</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-319"></span><span>    </span><span id="local-6989586621679509587"><span class="annot"><span class="annottext">toRational :: Int16 -&gt; Rational
</span><a href="GHC.Real.html#toRational"><span class="hs-identifier hs-var hs-var hs-var hs-var">toRational</span></a></span></span><span> </span><span id="local-6989586621679509586"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509586"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Integer
forall a. Integral a =&gt; a -&gt; Integer
</span><a href="GHC.Real.html#toInteger"><span class="hs-identifier hs-var">toInteger</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509586"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Integer -&gt; Integer -&gt; Rational
forall a. Integral a =&gt; a -&gt; a -&gt; Ratio a
</span><a href="GHC.Real.html#%25"><span class="hs-operator hs-var">%</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><span class="hs-number">1</span></span><span>
</span><span id="line-320"></span><span>
</span><span id="line-321"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-322"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509576"><span id="local-6989586621679509578"><span class="annot"><a href="GHC.Enum.html#Enum"><span class="hs-identifier hs-type">Enum</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-323"></span><span>    </span><span id="local-6989586621679509570"><span class="annot"><span class="annottext">succ :: Int16 -&gt; Int16
</span><a href="#local-6989586621679509570"><span class="hs-identifier hs-var hs-var hs-var hs-var">succ</span></a></span></span><span> </span><span id="local-6989586621679509569"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509569"><span class="hs-identifier hs-var">x</span></a></span></span><span>
</span><span id="line-324"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509569"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%2F%3D"><span class="hs-operator hs-var">/=</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#maxBound"><span class="hs-identifier hs-var">maxBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509569"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Int16
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="GHC.Num.html#%2B"><span class="hs-operator hs-var">+</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">1</span></span><span>
</span><span id="line-325"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Int16
forall a. String -&gt; a
</span><a href="GHC.Enum.html#succError"><span class="hs-identifier hs-var">succError</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Int16&quot;</span></span><span>
</span><span id="line-326"></span><span>    </span><span id="local-6989586621679509564"><span class="annot"><span class="annottext">pred :: Int16 -&gt; Int16
</span><a href="#local-6989586621679509564"><span class="hs-identifier hs-var hs-var hs-var hs-var">pred</span></a></span></span><span> </span><span id="local-6989586621679509563"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509563"><span class="hs-identifier hs-var">x</span></a></span></span><span>
</span><span id="line-327"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509563"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%2F%3D"><span class="hs-operator hs-var">/=</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509563"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Int16
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">1</span></span><span>
</span><span id="line-328"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Int16
forall a. String -&gt; a
</span><a href="GHC.Enum.html#predError"><span class="hs-identifier hs-var">predError</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Int16&quot;</span></span><span>
</span><span id="line-329"></span><span>    </span><span id="local-6989586621679509551"><span class="annot"><span class="annottext">toEnum :: Int -&gt; Int16
</span><a href="#local-6989586621679509551"><span class="hs-identifier hs-var hs-var hs-var hs-var">toEnum</span></a></span></span><span> </span><span id="local-6989586621679509550"><span class="annot"><span class="annottext">i :: Int
</span><a href="#local-6989586621679509550"><span class="hs-identifier hs-var">i</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509549"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509549"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-330"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509550"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E%3D"><span class="hs-operator hs-var">&gt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int16
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509550"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C%3D"><span class="hs-operator hs-var">&lt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int16
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#maxBound"><span class="hs-identifier hs-var">maxBound</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-331"></span><span>                        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509549"><span class="hs-identifier hs-var">i#</span></a></span><span>
</span><span id="line-332"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Int -&gt; (Int16, Int16) -&gt; Int16
forall a b. Show a =&gt; String -&gt; Int -&gt; (a, a) -&gt; b
</span><a href="GHC.Enum.html#toEnumError"><span class="hs-identifier hs-var">toEnumError</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Int16&quot;</span></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509550"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int16
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int16
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#maxBound"><span class="hs-identifier hs-var">maxBound</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-333"></span><span>    </span><span id="local-6989586621679509548"><span class="annot"><span class="annottext">fromEnum :: Int16 -&gt; Int
</span><a href="#local-6989586621679509548"><span class="hs-identifier hs-var hs-var hs-var hs-var">fromEnum</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509547"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509547"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509547"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-334"></span><span>    </span><span class="hs-comment">-- See Note [Stable Unfolding for list producers] in GHC.Enum</span><span>
</span><span id="line-335"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="GHC.Enum.html#enumFrom"><span class="hs-pragma hs-type">enumFrom</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-336"></span><span>    </span><span id="local-6989586621679509544"><span class="annot"><span class="annottext">enumFrom :: Int16 -&gt; [Int16]
</span><a href="GHC.Enum.html#enumFrom"><span class="hs-identifier hs-var hs-var hs-var hs-var">enumFrom</span></a></span></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; [Int16]
forall a. (Enum a, Bounded a) =&gt; a -&gt; [a]
</span><a href="GHC.Enum.html#boundedEnumFrom"><span class="hs-identifier hs-var">boundedEnumFrom</span></a></span><span>
</span><span id="line-337"></span><span>    </span><span class="hs-comment">-- See Note [Stable Unfolding for list producers] in GHC.Enum</span><span>
</span><span id="line-338"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="GHC.Enum.html#enumFromThen"><span class="hs-pragma hs-type">enumFromThen</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-339"></span><span>    </span><span id="local-6989586621679509541"><span class="annot"><span class="annottext">enumFromThen :: Int16 -&gt; Int16 -&gt; [Int16]
</span><a href="GHC.Enum.html#enumFromThen"><span class="hs-identifier hs-var hs-var hs-var hs-var">enumFromThen</span></a></span></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; [Int16]
forall a. (Enum a, Bounded a) =&gt; a -&gt; a -&gt; [a]
</span><a href="GHC.Enum.html#boundedEnumFromThen"><span class="hs-identifier hs-var">boundedEnumFromThen</span></a></span><span>
</span><span id="line-340"></span><span>
</span><span id="line-341"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-342"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Real.html#Integral"><span class="hs-identifier hs-type">Integral</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-343"></span><span>    </span><span id="local-6989586621679509523"><span class="annot"><span class="annottext">quot :: Int16 -&gt; Int16 -&gt; Int16
</span><a href="#local-6989586621679509523"><span class="hs-identifier hs-var hs-var hs-var hs-var">quot</span></a></span></span><span>    </span><span id="local-6989586621679509522"><span class="annot"><span class="annottext">x :: Int16
</span><a href="#local-6989586621679509522"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509521"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509521"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509520"><span class="annot"><span class="annottext">y :: Int16
</span><a href="#local-6989586621679509520"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509519"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509519"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-344"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509520"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-345"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509520"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509522"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span> </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-346"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509521"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#quotInt%23"><span class="hs-operator hs-var">`quotInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509519"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-347"></span><span>    </span><span id="local-6989586621679509516"><span class="annot"><span class="annottext">rem :: Int16 -&gt; Int16 -&gt; Int16
</span><a href="#local-6989586621679509516"><span class="hs-identifier hs-var hs-var hs-var hs-var">rem</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509515"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509515"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509514"><span class="annot"><span class="annottext">y :: Int16
</span><a href="#local-6989586621679509514"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509513"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509513"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-348"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509514"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-349"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509515"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#remInt%23"><span class="hs-operator hs-var">`remInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509513"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-350"></span><span>    </span><span id="local-6989586621679509506"><span class="annot"><span class="annottext">div :: Int16 -&gt; Int16 -&gt; Int16
</span><a href="#local-6989586621679509506"><span class="hs-identifier hs-var hs-var hs-var hs-var">div</span></a></span></span><span>     </span><span id="local-6989586621679509505"><span class="annot"><span class="annottext">x :: Int16
</span><a href="#local-6989586621679509505"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509504"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509504"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509503"><span class="annot"><span class="annottext">y :: Int16
</span><a href="#local-6989586621679509503"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509502"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509502"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-351"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509503"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-352"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509503"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509505"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span> </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-353"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509504"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Classes.html#divInt%23"><span class="hs-operator hs-var">`divInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509502"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-354"></span><span>    </span><span id="local-6989586621679509499"><span class="annot"><span class="annottext">mod :: Int16 -&gt; Int16 -&gt; Int16
</span><a href="#local-6989586621679509499"><span class="hs-identifier hs-var hs-var hs-var hs-var">mod</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509498"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509498"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509497"><span class="annot"><span class="annottext">y :: Int16
</span><a href="#local-6989586621679509497"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509496"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509496"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-355"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509497"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-356"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509498"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Classes.html#modInt%23"><span class="hs-operator hs-var">`modInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509496"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-357"></span><span>    </span><span id="local-6989586621679509488"><span class="annot"><span class="annottext">quotRem :: Int16 -&gt; Int16 -&gt; (Int16, Int16)
</span><a href="#local-6989586621679509488"><span class="hs-identifier hs-var hs-var hs-var hs-var">quotRem</span></a></span></span><span> </span><span id="local-6989586621679509487"><span class="annot"><span class="annottext">x :: Int16
</span><a href="#local-6989586621679509487"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509486"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509486"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509485"><span class="annot"><span class="annottext">y :: Int16
</span><a href="#local-6989586621679509485"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509484"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509484"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-358"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509485"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Int16, Int16)
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-359"></span><span>          </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-360"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509485"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509487"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int16
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0</span></span><span class="hs-special">)</span><span>
</span><span id="line-361"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509486"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; (# Int#, Int# #)
</span><a href="../../ghc-prim/src/GHC.Prim.html#quotRemInt%23"><span class="hs-operator hs-var">`quotRemInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509484"><span class="hs-identifier hs-var">y#</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-362"></span><span>                                       </span><span class="hs-special">(#</span><span> </span><span id="local-6989586621679509483"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509483"><span class="hs-identifier hs-var">q</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679509482"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509482"><span class="hs-identifier hs-var">r</span></a></span></span><span> </span><span class="hs-special">#)</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-363"></span><span>                                           </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509483"><span class="hs-identifier hs-var">q</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-364"></span><span>                                            </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509482"><span class="hs-identifier hs-var">r</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-365"></span><span>    </span><span id="local-6989586621679509474"><span class="annot"><span class="annottext">divMod :: Int16 -&gt; Int16 -&gt; (Int16, Int16)
</span><a href="#local-6989586621679509474"><span class="hs-identifier hs-var hs-var hs-var hs-var">divMod</span></a></span></span><span>  </span><span id="local-6989586621679509473"><span class="annot"><span class="annottext">x :: Int16
</span><a href="#local-6989586621679509473"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509472"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509472"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509471"><span class="annot"><span class="annottext">y :: Int16
</span><a href="#local-6989586621679509471"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509470"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509470"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-366"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509471"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Int16, Int16)
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-367"></span><span>          </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-368"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509471"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509473"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int16
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0</span></span><span class="hs-special">)</span><span>
</span><span id="line-369"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509472"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; (# Int#, Int# #)
</span><a href="GHC.Base.html#divModInt%23"><span class="hs-operator hs-var">`divModInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509470"><span class="hs-identifier hs-var">y#</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-370"></span><span>                                       </span><span class="hs-special">(#</span><span> </span><span id="local-6989586621679509469"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509469"><span class="hs-identifier hs-var">d</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679509468"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509468"><span class="hs-identifier hs-var">m</span></a></span></span><span> </span><span class="hs-special">#)</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-371"></span><span>                                           </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509469"><span class="hs-identifier hs-var">d</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-372"></span><span>                                            </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509468"><span class="hs-identifier hs-var">m</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-373"></span><span>    </span><span id="local-6989586621679509467"><span class="annot"><span class="annottext">toInteger :: Int16 -&gt; Integer
</span><a href="GHC.Real.html#toInteger"><span class="hs-identifier hs-var hs-var hs-var hs-var">toInteger</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509466"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509466"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>              </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Integer
</span><a href="../../ghc-bignum/src/GHC.Num.Integer.html#IS"><span class="hs-identifier hs-var">IS</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509466"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-374"></span><span>
</span><span id="line-375"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-376"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Enum.html#Bounded"><span class="hs-identifier hs-type">Bounded</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-377"></span><span>    </span><span id="local-6989586621679509462"><span class="annot"><span class="annottext">minBound :: Int16
</span><a href="#local-6989586621679509462"><span class="hs-identifier hs-var hs-var hs-var hs-var">minBound</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">-0x8000</span></span><span>
</span><span id="line-378"></span><span>    </span><span id="local-6989586621679509460"><span class="annot"><span class="annottext">maxBound :: Int16
</span><a href="#local-6989586621679509460"><span class="hs-identifier hs-var hs-var hs-var hs-var">maxBound</span></a></span></span><span> </span><span class="hs-glyph">=</span><span>  </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-number">0x7FFF</span></span><span>
</span><span id="line-379"></span><span>
</span><span id="line-380"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-381"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509449"><span id="local-6989586621679509451"><span id="local-6989586621679509455"><span class="annot"><a href="GHC.Ix.html#Ix"><span class="hs-identifier hs-type">Ix</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-382"></span><span>    </span><span id="local-6989586621679509447"><span class="annot"><span class="annottext">range :: (Int16, Int16) -&gt; [Int16]
</span><a href="#local-6989586621679509447"><span class="hs-identifier hs-var hs-var hs-var hs-var">range</span></a></span></span><span> </span><span class="hs-special">(</span><span id="local-6989586621679509446"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509446"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">,</span><span id="local-6989586621679509445"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509445"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509446"><span class="hs-identifier hs-var">m</span></a></span><span class="hs-glyph">..</span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509445"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-383"></span><span>    </span><span id="local-6989586621679509439"><span class="annot"><span class="annottext">unsafeIndex :: (Int16, Int16) -&gt; Int16 -&gt; Int
</span><a href="#local-6989586621679509439"><span class="hs-identifier hs-var hs-var hs-var hs-var">unsafeIndex</span></a></span></span><span> </span><span class="hs-special">(</span><span id="local-6989586621679509438"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509438"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">,</span><span class="annot"><span class="annottext">Int16
</span><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509437"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509437"><span class="hs-identifier hs-var">i</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509437"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Int
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509438"><span class="hs-identifier hs-var">m</span></a></span><span>
</span><span id="line-384"></span><span>    </span><span id="local-6989586621679509434"><span class="annot"><span class="annottext">inRange :: (Int16, Int16) -&gt; Int16 -&gt; Bool
</span><a href="#local-6989586621679509434"><span class="hs-identifier hs-var hs-var hs-var hs-var">inRange</span></a></span></span><span> </span><span class="hs-special">(</span><span id="local-6989586621679509433"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509433"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">,</span><span id="local-6989586621679509432"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509432"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509431"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509431"><span class="hs-identifier hs-var">i</span></a></span></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509433"><span class="hs-identifier hs-var">m</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C%3D"><span class="hs-operator hs-var">&lt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509431"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509431"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int16 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C%3D"><span class="hs-operator hs-var">&lt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509432"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-385"></span><span>
</span><span id="line-386"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-387"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509424"><span id="local-6989586621679509426"><span id="local-6989586621679509428"><span class="annot"><a href="GHC.Read.html#Read"><span class="hs-identifier hs-type">Read</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-388"></span><span>    </span><span id="local-6989586621679509420"><span class="annot"><span class="annottext">readsPrec :: Int -&gt; ReadS Int16
</span><a href="#local-6989586621679509420"><span class="hs-identifier hs-var hs-var hs-var hs-var">readsPrec</span></a></span></span><span> </span><span id="local-6989586621679509419"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509419"><span class="hs-identifier hs-var">p</span></a></span></span><span> </span><span id="local-6989586621679509418"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679509418"><span class="hs-identifier hs-var">s</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int -&gt; Int16
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509417"><span class="hs-identifier hs-var">x</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-identifier hs-type">Int</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679509416"><span class="hs-identifier hs-var">r</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">|</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679509417"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509417"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679509416"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679509416"><span class="hs-identifier hs-var">r</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">Int -&gt; ReadS Int
forall a. Read a =&gt; Int -&gt; ReadS a
</span><a href="GHC.Read.html#readsPrec"><span class="hs-identifier hs-var">readsPrec</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509419"><span class="hs-identifier hs-var">p</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679509418"><span class="hs-identifier hs-var">s</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-389"></span><span>
</span><span id="line-390"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-391"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509387"><span id="local-6989586621679509389"><span id="local-6989586621679509399"><span id="local-6989586621679509401"><span id="local-6989586621679509403"><span id="local-6989586621679509406"><span class="annot"><a href="Data.Bits.html#Bits"><span class="hs-identifier hs-type">Bits</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span></span></span></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-392"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#shift"><span class="hs-pragma hs-type">shift</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-393"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#bit"><span class="hs-pragma hs-type">bit</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-394"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#testBit"><span class="hs-pragma hs-type">testBit</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-395"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#popCount"><span class="hs-pragma hs-type">popCount</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-396"></span><span>
</span><span id="line-397"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509385"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509385"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509384"><span class="annot"><span class="annottext">.&amp;. :: Int16 -&gt; Int16 -&gt; Int16
</span><a href="#local-6989586621679509384"><span class="hs-operator hs-var hs-var hs-var hs-var">.&amp;.</span></a></span></span><span>   </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509383"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509383"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509385"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#andI%23"><span class="hs-operator hs-var">`andI#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509383"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-398"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509382"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509382"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509381"><span class="annot"><span class="annottext">.|. :: Int16 -&gt; Int16 -&gt; Int16
</span><a href="#local-6989586621679509381"><span class="hs-operator hs-var hs-var hs-var hs-var">.|.</span></a></span></span><span>   </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509380"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509380"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509382"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#orI%23"><span class="hs-operator hs-var">`orI#`</span></a></span><span>  </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509380"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-399"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509379"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509379"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509378"><span class="annot"><span class="annottext">xor :: Int16 -&gt; Int16 -&gt; Int16
</span><a href="#local-6989586621679509378"><span class="hs-operator hs-var hs-var hs-var hs-var">`xor`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509377"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509377"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509379"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#xorI%23"><span class="hs-operator hs-var">`xorI#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509377"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-400"></span><span>    </span><span id="local-6989586621679509376"><span class="annot"><span class="annottext">complement :: Int16 -&gt; Int16
</span><a href="#local-6989586621679509376"><span class="hs-identifier hs-var hs-var hs-var hs-var">complement</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509375"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509375"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#notI%23"><span class="hs-identifier hs-var">notI#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509375"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-401"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509374"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509374"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509373"><span class="annot"><span class="annottext">shift :: Int16 -&gt; Int -&gt; Int16
</span><a href="#local-6989586621679509373"><span class="hs-operator hs-var hs-var hs-var hs-var">`shift`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509372"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509372"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-402"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509372"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509374"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftL%23"><span class="hs-operator hs-var">`iShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509372"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-403"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509374"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftRA%23"><span class="hs-operator hs-var">`iShiftRA#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#negateInt%23"><span class="hs-identifier hs-var">negateInt#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509372"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-404"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509371"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509371"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509370"><span class="annot"><span class="annottext">shiftL :: Int16 -&gt; Int -&gt; Int16
</span><a href="#local-6989586621679509370"><span class="hs-operator hs-var hs-var hs-var hs-var">`shiftL`</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509369"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509369"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-405"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509369"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509371"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftL%23"><span class="hs-operator hs-var">`iShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509369"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-406"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span>
</span><span id="line-407"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509368"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509368"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509367"><span class="annot"><span class="annottext">unsafeShiftL :: Int16 -&gt; Int -&gt; Int16
</span><a href="#local-6989586621679509367"><span class="hs-operator hs-var hs-var hs-var hs-var">`unsafeShiftL`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509366"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509366"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509368"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedIShiftL%23"><span class="hs-operator hs-var">`uncheckedIShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509366"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-408"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509365"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509365"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509364"><span class="annot"><span class="annottext">shiftR :: Int16 -&gt; Int -&gt; Int16
</span><a href="#local-6989586621679509364"><span class="hs-operator hs-var hs-var hs-var hs-var">`shiftR`</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509363"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509363"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-409"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509363"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509365"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftRA%23"><span class="hs-operator hs-var">`iShiftRA#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509363"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-410"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span>
</span><span id="line-411"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509362"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509362"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509361"><span class="annot"><span class="annottext">unsafeShiftR :: Int16 -&gt; Int -&gt; Int16
</span><a href="#local-6989586621679509361"><span class="hs-operator hs-var hs-var hs-var hs-var">`unsafeShiftR`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509360"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509360"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509362"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedIShiftRA%23"><span class="hs-operator hs-var">`uncheckedIShiftRA#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509360"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-412"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509359"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509359"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509358"><span class="annot"><span class="annottext">rotate :: Int16 -&gt; Int -&gt; Int16
</span><a href="#local-6989586621679509358"><span class="hs-operator hs-var hs-var hs-var hs-var">`rotate`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509357"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509357"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-413"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509356"><span class="hs-identifier hs-var">i'#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3D%3D%23"><span class="hs-operator hs-var">==#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>
</span><span id="line-414"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509359"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-415"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>
</span><span id="line-416"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int16
</span><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-var">I16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-identifier hs-var">narrow16Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word#
</span><a href="#local-6989586621679509355"><span class="hs-identifier hs-var">x'#</span></a></span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedShiftL%23"><span class="hs-operator hs-var">`uncheckedShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509356"><span class="hs-identifier hs-var">i'#</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#or%23"><span class="hs-operator hs-var">`or#`</span></a></span><span>
</span><span id="line-417"></span><span>                                         </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word#
</span><a href="#local-6989586621679509355"><span class="hs-identifier hs-var">x'#</span></a></span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedShiftRL%23"><span class="hs-operator hs-var">`uncheckedShiftRL#`</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">16#</span></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#-%23"><span class="hs-operator hs-var">-#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509356"><span class="hs-identifier hs-var">i'#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-418"></span><span>        </span><span class="hs-keyword">where</span><span>
</span><span id="line-419"></span><span>        </span><span class="hs-glyph">!</span><span id="local-6989586621679509355"><span class="annot"><span class="annottext">x'# :: Word#
</span><a href="#local-6989586621679509355"><span class="hs-identifier hs-var hs-var">x'#</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Word%23"><span class="hs-identifier hs-var">narrow16Word#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509359"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-420"></span><span>        </span><span class="hs-glyph">!</span><span id="local-6989586621679509356"><span class="annot"><span class="annottext">i'# :: Int#
</span><a href="#local-6989586621679509356"><span class="hs-identifier hs-var hs-var">i'#</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509357"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#and%23"><span class="hs-operator hs-var">`and#`</span></a></span><span> </span><span class="annot"><span class="annottext">Word#
</span><span class="hs-number">15##</span></span><span class="hs-special">)</span><span>
</span><span id="line-421"></span><span>    </span><span id="local-6989586621679509352"><span class="annot"><span class="annottext">bitSizeMaybe :: Int16 -&gt; Maybe Int
</span><a href="#local-6989586621679509352"><span class="hs-identifier hs-var hs-var hs-var hs-var">bitSizeMaybe</span></a></span></span><span> </span><span id="local-6989586621679509351"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509351"><span class="hs-identifier hs-var">i</span></a></span></span><span>             </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Maybe Int
forall a. a -&gt; Maybe a
</span><a href="GHC.Maybe.html#Just"><span class="hs-identifier hs-var">Just</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int16 -&gt; Int
forall b. FiniteBits b =&gt; b -&gt; Int
</span><a href="Data.Bits.html#finiteBitSize"><span class="hs-identifier hs-var">finiteBitSize</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509351"><span class="hs-identifier hs-var">i</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-422"></span><span>    </span><span id="local-6989586621679509349"><span class="annot"><span class="annottext">bitSize :: Int16 -&gt; Int
</span><a href="#local-6989586621679509349"><span class="hs-identifier hs-var hs-var hs-var hs-var">bitSize</span></a></span></span><span> </span><span id="local-6989586621679509348"><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509348"><span class="hs-identifier hs-var">i</span></a></span></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int
forall b. FiniteBits b =&gt; b -&gt; Int
</span><a href="Data.Bits.html#finiteBitSize"><span class="hs-identifier hs-var">finiteBitSize</span></a></span><span> </span><span class="annot"><span class="annottext">Int16
</span><a href="#local-6989586621679509348"><span class="hs-identifier hs-var">i</span></a></span><span>
</span><span id="line-423"></span><span>    </span><span id="local-6989586621679509347"><span class="annot"><span class="annottext">isSigned :: Int16 -&gt; Bool
</span><a href="#local-6989586621679509347"><span class="hs-identifier hs-var hs-var hs-var hs-var">isSigned</span></a></span></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-identifier">_</span></span><span>                 </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#True"><span class="hs-identifier hs-var">True</span></a></span><span>
</span><span id="line-424"></span><span>    </span><span id="local-6989586621679509346"><span class="annot"><span class="annottext">popCount :: Int16 -&gt; Int
</span><a href="#local-6989586621679509346"><span class="hs-identifier hs-var hs-var hs-var hs-var">popCount</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509345"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509345"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#popCnt16%23"><span class="hs-identifier hs-var">popCnt16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509345"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-425"></span><span>    </span><span id="local-6989586621679509342"><span class="annot"><span class="annottext">bit :: Int -&gt; Int16
</span><a href="#local-6989586621679509342"><span class="hs-identifier hs-var hs-var hs-var hs-var">bit</span></a></span></span><span>                        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int16
forall a. (Bits a, Num a) =&gt; Int -&gt; a
</span><a href="Data.Bits.html#bitDefault"><span class="hs-identifier hs-var">bitDefault</span></a></span><span>
</span><span id="line-426"></span><span>    </span><span id="local-6989586621679509339"><span class="annot"><span class="annottext">testBit :: Int16 -&gt; Int -&gt; Bool
</span><a href="#local-6989586621679509339"><span class="hs-identifier hs-var hs-var hs-var hs-var">testBit</span></a></span></span><span>                    </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int16 -&gt; Int -&gt; Bool
forall a. (Bits a, Num a) =&gt; a -&gt; Int -&gt; Bool
</span><a href="Data.Bits.html#testBitDefault"><span class="hs-identifier hs-var">testBitDefault</span></a></span><span>
</span><span id="line-427"></span><span>
</span><span id="line-428"></span><span class="hs-comment">-- | @since 4.6.0.0</span><span>
</span><span id="line-429"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="Data.Bits.html#FiniteBits"><span class="hs-identifier hs-type">FiniteBits</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-identifier hs-type">Int16</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-430"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#countLeadingZeros"><span class="hs-pragma hs-type">countLeadingZeros</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-431"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#countTrailingZeros"><span class="hs-pragma hs-type">countTrailingZeros</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-432"></span><span>    </span><span id="local-6989586621679509333"><span class="annot"><span class="annottext">finiteBitSize :: Int16 -&gt; Int
</span><a href="#local-6989586621679509333"><span class="hs-identifier hs-var hs-var hs-var hs-var">finiteBitSize</span></a></span></span><span> </span><span class="annot"><span class="annottext">Int16
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">16</span></span><span>
</span><span id="line-433"></span><span>    </span><span id="local-6989586621679509332"><span class="annot"><span class="annottext">countLeadingZeros :: Int16 -&gt; Int
</span><a href="#local-6989586621679509332"><span class="hs-identifier hs-var hs-var hs-var hs-var">countLeadingZeros</span></a></span></span><span>  </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509331"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509331"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#clz16%23"><span class="hs-identifier hs-var">clz16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509331"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-434"></span><span>    </span><span id="local-6989586621679509330"><span class="annot"><span class="annottext">countTrailingZeros :: Int16 -&gt; Int
</span><a href="#local-6989586621679509330"><span class="hs-identifier hs-var hs-var hs-var hs-var">countTrailingZeros</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-identifier hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509329"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509329"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#ctz16%23"><span class="hs-identifier hs-var">ctz16#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509329"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-435"></span><span>
</span><span id="line-436"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-437"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Word8-&gt;Int16&quot;</span></span><span>  </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Word.html#W8%23"><span class="hs-pragma hs-type">W8#</span></a></span><span> </span><span id="local-6989586621679509328"><span class="annot"><a href="#local-6989586621679509328"><span class="hs-pragma hs-var">x#</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-pragma hs-type">I16#</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-pragma hs-type">word2Int#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509328"><span class="hs-pragma hs-type">x#</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-438"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int8-&gt;Int16&quot;</span></span><span>   </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-pragma hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509327"><span class="annot"><a href="#local-6989586621679509327"><span class="hs-pragma hs-var">x#</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-pragma hs-type">I16#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509327"><span class="hs-pragma hs-type">x#</span></a></span><span>
</span><span id="line-439"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int16-&gt;Int16&quot;</span></span><span>  </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="annot"><a href="GHC.Base.html#id"><span class="hs-pragma hs-type">id</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span>
</span><span id="line-440"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/a-&gt;Int16&quot;</span></span><span>      </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span id="local-6989586621679509326"><span class="annot"><a href="#local-6989586621679509326"><span class="hs-pragma hs-var">x</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">case</span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509326"><span class="hs-pragma hs-type">x</span></a></span><span> </span><span class="hs-pragma">of</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-pragma hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509325"><span class="annot"><a href="#local-6989586621679509325"><span class="hs-pragma hs-var">x#</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-pragma hs-type">I16#</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#narrow16Int%23"><span class="hs-pragma hs-type">narrow16Int#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509325"><span class="hs-pragma hs-type">x#</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-441"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int16-&gt;a&quot;</span></span><span>      </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-pragma hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509324"><span class="annot"><a href="#local-6989586621679509324"><span class="hs-pragma hs-var">x#</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-pragma hs-type">I#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509324"><span class="hs-pragma hs-type">x#</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-442"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-443"></span><span>
</span><span id="line-444"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-445"></span><span class="annot"><span class="hs-pragma">&quot;properFraction/Float-&gt;(Int16,Float)&quot;</span></span><span>
</span><span id="line-446"></span><span>    </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span id="local-6989586621679509323"><span class="annot"><a href="#local-6989586621679509323"><span class="hs-pragma hs-var">x</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span>
</span><span id="line-447"></span><span>                      </span><span class="hs-pragma">case</span><span> </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509323"><span class="hs-pragma hs-type">x</span></a></span><span> </span><span class="hs-pragma">of</span><span> </span><span class="hs-pragma">{</span><span>
</span><span id="line-448"></span><span>                        </span><span class="hs-pragma">(</span><span id="local-6989586621679509322"><span class="annot"><a href="#local-6989586621679509322"><span class="hs-pragma hs-var">n</span></a></span></span><span class="hs-pragma">,</span><span> </span><span id="local-6989586621679509321"><span class="annot"><a href="#local-6989586621679509321"><span class="hs-pragma hs-var">y</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="#local-6989586621679509322"><span class="hs-pragma hs-type">n</span></a></span><span class="hs-pragma">,</span><span> </span><span class="annot"><a href="#local-6989586621679509321"><span class="hs-pragma hs-type">y</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">}</span><span>
</span><span id="line-449"></span><span class="annot"><span class="hs-pragma">&quot;truncate/Float-&gt;Int16&quot;</span></span><span>
</span><span id="line-450"></span><span>    </span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-451"></span><span class="annot"><span class="hs-pragma">&quot;floor/Float-&gt;Int16&quot;</span></span><span>
</span><span id="line-452"></span><span>    </span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-453"></span><span class="annot"><span class="hs-pragma">&quot;ceiling/Float-&gt;Int16&quot;</span></span><span>
</span><span id="line-454"></span><span>    </span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span>  </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-455"></span><span class="annot"><span class="hs-pragma">&quot;round/Float-&gt;Int16&quot;</span></span><span>
</span><span id="line-456"></span><span>    </span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>  </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-457"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-458"></span><span>
</span><span id="line-459"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-460"></span><span class="annot"><span class="hs-pragma">&quot;properFraction/Double-&gt;(Int16,Double)&quot;</span></span><span>
</span><span id="line-461"></span><span>    </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span id="local-6989586621679509320"><span class="annot"><a href="#local-6989586621679509320"><span class="hs-pragma hs-var">x</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span>
</span><span id="line-462"></span><span>                      </span><span class="hs-pragma">case</span><span> </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509320"><span class="hs-pragma hs-type">x</span></a></span><span> </span><span class="hs-pragma">of</span><span> </span><span class="hs-pragma">{</span><span>
</span><span id="line-463"></span><span>                        </span><span class="hs-pragma">(</span><span id="local-6989586621679509319"><span class="annot"><a href="#local-6989586621679509319"><span class="hs-pragma hs-var">n</span></a></span></span><span class="hs-pragma">,</span><span> </span><span id="local-6989586621679509318"><span class="annot"><a href="#local-6989586621679509318"><span class="hs-pragma hs-var">y</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="#local-6989586621679509319"><span class="hs-pragma hs-type">n</span></a></span><span class="hs-pragma">,</span><span> </span><span class="annot"><a href="#local-6989586621679509318"><span class="hs-pragma hs-type">y</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">}</span><span>
</span><span id="line-464"></span><span class="annot"><span class="hs-pragma">&quot;truncate/Double-&gt;Int16&quot;</span></span><span>
</span><span id="line-465"></span><span>    </span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-466"></span><span class="annot"><span class="hs-pragma">&quot;floor/Double-&gt;Int16&quot;</span></span><span>
</span><span id="line-467"></span><span>    </span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-468"></span><span class="annot"><span class="hs-pragma">&quot;ceiling/Double-&gt;Int16&quot;</span></span><span>
</span><span id="line-469"></span><span>    </span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span>  </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-470"></span><span class="annot"><span class="hs-pragma">&quot;round/Double-&gt;Int16&quot;</span></span><span>
</span><span id="line-471"></span><span>    </span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>  </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-472"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-473"></span><span>
</span><span id="line-474"></span><span class="hs-comment">------------------------------------------------------------------------</span><span>
</span><span id="line-475"></span><span class="hs-comment">-- type Int32</span><span>
</span><span id="line-476"></span><span class="hs-comment">------------------------------------------------------------------------</span><span>
</span><span id="line-477"></span><span>
</span><span id="line-478"></span><span class="hs-comment">-- Int32 is represented in the same way as Int.</span><span class="hs-cpp">
#if WORD_SIZE_IN_BITS &gt; 32
</span><span class="hs-comment">-- Operations may assume and must ensure that it holds only values</span><span>
</span><span id="line-481"></span><span class="hs-comment">-- from its logical range.</span><span class="hs-cpp">
#endif
</span><span>
</span><span id="line-484"></span><span class="hs-keyword">data</span><span> </span><span class="hs-pragma">{-# CTYPE</span><span> </span><span class="hs-pragma">&quot;HsInt32&quot;</span><span> </span><span class="hs-pragma">#-}</span><span> </span><span id="Int32"><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-var">Int32</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="I32%23"><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span></span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#Int%23"><span class="hs-identifier hs-type">Int#</span></a></span><span>
</span><span id="line-485"></span><span class="hs-comment">-- ^ 32-bit signed integer type</span><span>
</span><span id="line-486"></span><span>
</span><span id="line-487"></span><span class="hs-comment">-- See GHC.Classes#matching_overloaded_methods_in_rules</span><span>
</span><span id="line-488"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-489"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#Eq"><span class="hs-identifier hs-type">Eq</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-490"></span><span>    </span><span id="local-6989586621679509313"><span class="annot"><span class="annottext">== :: Int32 -&gt; Int32 -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var hs-var hs-var hs-var">(==)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
</span><a href="GHC.Int.html#eqInt32"><span class="hs-identifier hs-var">eqInt32</span></a></span><span>
</span><span id="line-491"></span><span>    </span><span id="local-6989586621679509312"><span class="annot"><span class="annottext">/= :: Int32 -&gt; Int32 -&gt; Bool
</span><a href="#local-6989586621679509312"><span class="hs-operator hs-var hs-var hs-var hs-var">(/=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
</span><a href="GHC.Int.html#neInt32"><span class="hs-identifier hs-var">neInt32</span></a></span><span>
</span><span id="line-492"></span><span>
</span><span id="line-493"></span><span class="annot"><a href="GHC.Int.html#eqInt32"><span class="hs-identifier hs-type">eqInt32</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#neInt32"><span class="hs-identifier hs-type">neInt32</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Bool"><span class="hs-identifier hs-type">Bool</span></a></span><span>
</span><span id="line-494"></span><span id="eqInt32"><span class="annot"><span class="annottext">eqInt32 :: Int32 -&gt; Int32 -&gt; Bool
</span><a href="GHC.Int.html#eqInt32"><span class="hs-identifier hs-var hs-var">eqInt32</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509311"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509311"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509310"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509310"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509311"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3D%3D%23"><span class="hs-operator hs-var">==#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509310"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-495"></span><span id="neInt32"><span class="annot"><span class="annottext">neInt32 :: Int32 -&gt; Int32 -&gt; Bool
</span><a href="GHC.Int.html#neInt32"><span class="hs-identifier hs-var hs-var">neInt32</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509309"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509309"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509308"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509308"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509309"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%2F%3D%23"><span class="hs-operator hs-var">/=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509308"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-496"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#eqInt32"><span class="hs-pragma hs-type">eqInt32</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-497"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#neInt32"><span class="hs-pragma hs-type">neInt32</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-498"></span><span>
</span><span id="line-499"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-500"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509296"><span id="local-6989586621679509298"><span id="local-6989586621679509304"><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#Ord"><span class="hs-identifier hs-type">Ord</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-501"></span><span>    </span><span id="local-6989586621679509295"><span class="annot"><span class="annottext">&lt; :: Int32 -&gt; Int32 -&gt; Bool
</span><a href="#local-6989586621679509295"><span class="hs-operator hs-var hs-var hs-var hs-var">(&lt;)</span></a></span></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
</span><a href="GHC.Int.html#ltInt32"><span class="hs-identifier hs-var">ltInt32</span></a></span><span>
</span><span id="line-502"></span><span>    </span><span id="local-6989586621679509294"><span class="annot"><span class="annottext">&lt;= :: Int32 -&gt; Int32 -&gt; Bool
</span><a href="#local-6989586621679509294"><span class="hs-operator hs-var hs-var hs-var hs-var">(&lt;=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
</span><a href="GHC.Int.html#leInt32"><span class="hs-identifier hs-var">leInt32</span></a></span><span>
</span><span id="line-503"></span><span>    </span><span id="local-6989586621679509293"><span class="annot"><span class="annottext">&gt;= :: Int32 -&gt; Int32 -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E%3D"><span class="hs-operator hs-var hs-var hs-var hs-var">(&gt;=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
</span><a href="GHC.Int.html#geInt32"><span class="hs-identifier hs-var">geInt32</span></a></span><span>
</span><span id="line-504"></span><span>    </span><span id="local-6989586621679509292"><span class="annot"><span class="annottext">&gt; :: Int32 -&gt; Int32 -&gt; Bool
</span><a href="#local-6989586621679509292"><span class="hs-operator hs-var hs-var hs-var hs-var">(&gt;)</span></a></span></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
</span><a href="GHC.Int.html#gtInt32"><span class="hs-identifier hs-var">gtInt32</span></a></span><span>
</span><span id="line-505"></span><span>
</span><span id="line-506"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#gtInt32"><span class="hs-pragma hs-type">gtInt32</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-507"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#geInt32"><span class="hs-pragma hs-type">geInt32</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-508"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#ltInt32"><span class="hs-pragma hs-type">ltInt32</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-509"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#leInt32"><span class="hs-pragma hs-type">leInt32</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-510"></span><span class="annot"><a href="GHC.Int.html#gtInt32"><span class="hs-identifier hs-type">gtInt32</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#geInt32"><span class="hs-identifier hs-type">geInt32</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#ltInt32"><span class="hs-identifier hs-type">ltInt32</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#leInt32"><span class="hs-identifier hs-type">leInt32</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Bool"><span class="hs-identifier hs-type">Bool</span></a></span><span>
</span><span id="line-511"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509291"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509291"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="gtInt32"><span class="annot"><span class="annottext">gtInt32 :: Int32 -&gt; Int32 -&gt; Bool
</span><a href="GHC.Int.html#gtInt32"><span class="hs-operator hs-var hs-var">`gtInt32`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509290"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509290"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509291"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%23"><span class="hs-operator hs-var">&gt;#</span></a></span><span>  </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509290"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-512"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509289"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509289"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="geInt32"><span class="annot"><span class="annottext">geInt32 :: Int32 -&gt; Int32 -&gt; Bool
</span><a href="GHC.Int.html#geInt32"><span class="hs-operator hs-var hs-var">`geInt32`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509288"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509288"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509289"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509288"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-513"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509287"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509287"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="ltInt32"><span class="annot"><span class="annottext">ltInt32 :: Int32 -&gt; Int32 -&gt; Bool
</span><a href="GHC.Int.html#ltInt32"><span class="hs-operator hs-var hs-var">`ltInt32`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509286"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509286"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509287"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3C%23"><span class="hs-operator hs-var">&lt;#</span></a></span><span>  </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509286"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-514"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509285"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509285"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="leInt32"><span class="annot"><span class="annottext">leInt32 :: Int32 -&gt; Int32 -&gt; Bool
</span><a href="GHC.Int.html#leInt32"><span class="hs-operator hs-var hs-var">`leInt32`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509284"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509284"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509285"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3C%3D%23"><span class="hs-operator hs-var">&lt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509284"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-515"></span><span>
</span><span id="line-516"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-517"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509279"><span id="local-6989586621679509281"><span class="annot"><a href="GHC.Show.html#Show"><span class="hs-identifier hs-type">Show</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-518"></span><span>    </span><span id="local-6989586621679509274"><span class="annot"><span class="annottext">showsPrec :: Int -&gt; Int32 -&gt; ShowS
</span><a href="#local-6989586621679509274"><span class="hs-identifier hs-var hs-var hs-var hs-var">showsPrec</span></a></span></span><span> </span><span id="local-6989586621679509273"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509273"><span class="hs-identifier hs-var">p</span></a></span></span><span> </span><span id="local-6989586621679509272"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509272"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; ShowS
forall a. Show a =&gt; Int -&gt; a -&gt; ShowS
</span><a href="GHC.Show.html#showsPrec"><span class="hs-identifier hs-var">showsPrec</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509273"><span class="hs-identifier hs-var">p</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509272"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-identifier hs-type">Int</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-519"></span><span>
</span><span id="line-520"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-521"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Num.html#Num"><span class="hs-identifier hs-type">Num</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-522"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509263"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509263"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509262"><span class="annot"><span class="annottext">+ :: Int32 -&gt; Int32 -&gt; Int32
</span><a href="#local-6989586621679509262"><span class="hs-operator hs-var hs-var hs-var hs-var">+</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509261"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509261"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509263"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%2B%23"><span class="hs-operator hs-var">+#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509261"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-523"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509260"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509260"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509259"><span class="annot"><span class="annottext">- :: Int32 -&gt; Int32 -&gt; Int32
</span><a href="GHC.Num.html#-"><span class="hs-glyph hs-var hs-var hs-var hs-var">-</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509258"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509258"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509260"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#-%23"><span class="hs-operator hs-var">-#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509258"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-524"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509257"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509257"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509256"><span class="annot"><span class="annottext">* :: Int32 -&gt; Int32 -&gt; Int32
</span><a href="#local-6989586621679509256"><span class="hs-operator hs-var hs-var hs-var hs-var">*</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509255"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509255"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509257"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%2A%23"><span class="hs-operator hs-var">*#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509255"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-525"></span><span>    </span><span id="local-6989586621679509254"><span class="annot"><span class="annottext">negate :: Int32 -&gt; Int32
</span><a href="GHC.Num.html#negate"><span class="hs-identifier hs-var hs-var hs-var hs-var">negate</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509253"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509253"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#negateInt%23"><span class="hs-identifier hs-var">negateInt#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509253"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-526"></span><span>    </span><span id="local-6989586621679509249"><span class="annot"><span class="annottext">abs :: Int32 -&gt; Int32
</span><a href="#local-6989586621679509249"><span class="hs-identifier hs-var hs-var hs-var hs-var">abs</span></a></span></span><span> </span><span id="local-6989586621679509248"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509248"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509248"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E%3D"><span class="hs-operator hs-var">&gt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509248"><span class="hs-identifier hs-var">x</span></a></span><span>
</span><span id="line-527"></span><span>          </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32
forall a. Num a =&gt; a -&gt; a
</span><a href="GHC.Num.html#negate"><span class="hs-identifier hs-var">negate</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509248"><span class="hs-identifier hs-var">x</span></a></span><span>
</span><span id="line-528"></span><span>    </span><span id="local-6989586621679509240"><span class="annot"><span class="annottext">signum :: Int32 -&gt; Int32
</span><a href="#local-6989586621679509240"><span class="hs-identifier hs-var hs-var hs-var hs-var">signum</span></a></span></span><span> </span><span id="local-6989586621679509239"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509239"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509239"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E"><span class="hs-operator hs-var">&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">1</span></span><span>
</span><span id="line-529"></span><span>    </span><span class="annot"><a href="GHC.Num.html#signum"><span class="hs-identifier hs-var">signum</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span>               </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span>
</span><span id="line-530"></span><span>    </span><span class="annot"><a href="GHC.Num.html#signum"><span class="hs-identifier hs-var">signum</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-identifier">_</span></span><span>               </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">-1</span></span><span>
</span><span id="line-531"></span><span>    </span><span id="local-6989586621679509238"><span class="annot"><span class="annottext">fromInteger :: Integer -&gt; Int32
</span><a href="GHC.Num.html#fromInteger"><span class="hs-identifier hs-var hs-var hs-var hs-var">fromInteger</span></a></span></span><span> </span><span id="local-6989586621679509237"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679509237"><span class="hs-identifier hs-var">i</span></a></span></span><span>          </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Integer -&gt; Int#
</span><a href="../../ghc-bignum/src/GHC.Num.Integer.html#integerToInt%23"><span class="hs-identifier hs-var">integerToInt#</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679509237"><span class="hs-identifier hs-var">i</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-532"></span><span>
</span><span id="line-533"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-534"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509227"><span id="local-6989586621679509229"><span class="annot"><a href="GHC.Enum.html#Enum"><span class="hs-identifier hs-type">Enum</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-535"></span><span>    </span><span id="local-6989586621679509221"><span class="annot"><span class="annottext">succ :: Int32 -&gt; Int32
</span><a href="#local-6989586621679509221"><span class="hs-identifier hs-var hs-var hs-var hs-var">succ</span></a></span></span><span> </span><span id="local-6989586621679509220"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509220"><span class="hs-identifier hs-var">x</span></a></span></span><span>
</span><span id="line-536"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509220"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%2F%3D"><span class="hs-operator hs-var">/=</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#maxBound"><span class="hs-identifier hs-var">maxBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509220"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Int32
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="GHC.Num.html#%2B"><span class="hs-operator hs-var">+</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">1</span></span><span>
</span><span id="line-537"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Int32
forall a. String -&gt; a
</span><a href="GHC.Enum.html#succError"><span class="hs-identifier hs-var">succError</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Int32&quot;</span></span><span>
</span><span id="line-538"></span><span>    </span><span id="local-6989586621679509215"><span class="annot"><span class="annottext">pred :: Int32 -&gt; Int32
</span><a href="#local-6989586621679509215"><span class="hs-identifier hs-var hs-var hs-var hs-var">pred</span></a></span></span><span> </span><span id="local-6989586621679509214"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509214"><span class="hs-identifier hs-var">x</span></a></span></span><span>
</span><span id="line-539"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509214"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%2F%3D"><span class="hs-operator hs-var">/=</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509214"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Int32
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">1</span></span><span>
</span><span id="line-540"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Int32
forall a. String -&gt; a
</span><a href="GHC.Enum.html#predError"><span class="hs-identifier hs-var">predError</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Int32&quot;</span></span><span class="hs-cpp">
#if WORD_SIZE_IN_BITS == 32
</span><span>    </span><span class="hs-identifier">toEnum</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I#</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I32#</span><span> </span><span class="hs-identifier">i#</span><span class="hs-cpp">
#else
</span><span>    </span><span id="local-6989586621679509202"><span class="annot"><span class="annottext">toEnum :: Int -&gt; Int32
</span><a href="#local-6989586621679509202"><span class="hs-identifier hs-var hs-var hs-var hs-var">toEnum</span></a></span></span><span> </span><span id="local-6989586621679509201"><span class="annot"><span class="annottext">i :: Int
</span><a href="#local-6989586621679509201"><span class="hs-identifier hs-var">i</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509200"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509200"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-545"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509201"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E%3D"><span class="hs-operator hs-var">&gt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509201"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C%3D"><span class="hs-operator hs-var">&lt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#maxBound"><span class="hs-identifier hs-var">maxBound</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-546"></span><span>                        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509200"><span class="hs-identifier hs-var">i#</span></a></span><span>
</span><span id="line-547"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Int -&gt; (Int32, Int32) -&gt; Int32
forall a b. Show a =&gt; String -&gt; Int -&gt; (a, a) -&gt; b
</span><a href="GHC.Enum.html#toEnumError"><span class="hs-identifier hs-var">toEnumError</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Int32&quot;</span></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509201"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int32
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#maxBound"><span class="hs-identifier hs-var">maxBound</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span class="hs-special">)</span><span class="hs-cpp">
#endif
</span><span>    </span><span id="local-6989586621679509199"><span class="annot"><span class="annottext">fromEnum :: Int32 -&gt; Int
</span><a href="#local-6989586621679509199"><span class="hs-identifier hs-var hs-var hs-var hs-var">fromEnum</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509198"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509198"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509198"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-550"></span><span>    </span><span class="hs-comment">-- See Note [Stable Unfolding for list producers] in GHC.Enum</span><span>
</span><span id="line-551"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="GHC.Enum.html#enumFrom"><span class="hs-pragma hs-type">enumFrom</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-552"></span><span>    </span><span id="local-6989586621679509195"><span class="annot"><span class="annottext">enumFrom :: Int32 -&gt; [Int32]
</span><a href="GHC.Enum.html#enumFrom"><span class="hs-identifier hs-var hs-var hs-var hs-var">enumFrom</span></a></span></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; [Int32]
forall a. (Enum a, Bounded a) =&gt; a -&gt; [a]
</span><a href="GHC.Enum.html#boundedEnumFrom"><span class="hs-identifier hs-var">boundedEnumFrom</span></a></span><span>
</span><span id="line-553"></span><span>    </span><span class="hs-comment">-- See Note [Stable Unfolding for list producers] in GHC.Enum</span><span>
</span><span id="line-554"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="GHC.Enum.html#enumFromThen"><span class="hs-pragma hs-type">enumFromThen</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-555"></span><span>    </span><span id="local-6989586621679509192"><span class="annot"><span class="annottext">enumFromThen :: Int32 -&gt; Int32 -&gt; [Int32]
</span><a href="GHC.Enum.html#enumFromThen"><span class="hs-identifier hs-var hs-var hs-var hs-var">enumFromThen</span></a></span></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; [Int32]
forall a. (Enum a, Bounded a) =&gt; a -&gt; a -&gt; [a]
</span><a href="GHC.Enum.html#boundedEnumFromThen"><span class="hs-identifier hs-var">boundedEnumFromThen</span></a></span><span>
</span><span id="line-556"></span><span>
</span><span id="line-557"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-558"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Real.html#Integral"><span class="hs-identifier hs-type">Integral</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-559"></span><span>    </span><span id="local-6989586621679509173"><span class="annot"><span class="annottext">quot :: Int32 -&gt; Int32 -&gt; Int32
</span><a href="#local-6989586621679509173"><span class="hs-identifier hs-var hs-var hs-var hs-var">quot</span></a></span></span><span>    </span><span id="local-6989586621679509172"><span class="annot"><span class="annottext">x :: Int32
</span><a href="#local-6989586621679509172"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509171"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509171"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509170"><span class="annot"><span class="annottext">y :: Int32
</span><a href="#local-6989586621679509170"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509169"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509169"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-560"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509170"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-561"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509170"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509172"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span> </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-562"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509171"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#quotInt%23"><span class="hs-operator hs-var">`quotInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509169"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-563"></span><span>    </span><span id="local-6989586621679509163"><span class="annot"><span class="annottext">rem :: Int32 -&gt; Int32 -&gt; Int32
</span><a href="#local-6989586621679509163"><span class="hs-identifier hs-var hs-var hs-var hs-var">rem</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509162"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509162"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509161"><span class="annot"><span class="annottext">y :: Int32
</span><a href="#local-6989586621679509161"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509160"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509160"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-564"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509161"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-565"></span><span>          </span><span class="hs-comment">-- The quotRem CPU instruction fails for minBound `quotRem` -1,</span><span>
</span><span id="line-566"></span><span>          </span><span class="hs-comment">-- but minBound `rem` -1 is well-defined (0). We therefore</span><span>
</span><span id="line-567"></span><span>          </span><span class="hs-comment">-- special-case it.</span><span>
</span><span id="line-568"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509161"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span>
</span><span id="line-569"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509162"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#remInt%23"><span class="hs-operator hs-var">`remInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509160"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-570"></span><span>    </span><span id="local-6989586621679509153"><span class="annot"><span class="annottext">div :: Int32 -&gt; Int32 -&gt; Int32
</span><a href="#local-6989586621679509153"><span class="hs-identifier hs-var hs-var hs-var hs-var">div</span></a></span></span><span>     </span><span id="local-6989586621679509152"><span class="annot"><span class="annottext">x :: Int32
</span><a href="#local-6989586621679509152"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509151"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509151"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509150"><span class="annot"><span class="annottext">y :: Int32
</span><a href="#local-6989586621679509150"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509149"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509149"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-571"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509150"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-572"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509150"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509152"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span> </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-573"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509151"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Classes.html#divInt%23"><span class="hs-operator hs-var">`divInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509149"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-574"></span><span>    </span><span id="local-6989586621679509143"><span class="annot"><span class="annottext">mod :: Int32 -&gt; Int32 -&gt; Int32
</span><a href="#local-6989586621679509143"><span class="hs-identifier hs-var hs-var hs-var hs-var">mod</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509142"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509142"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509141"><span class="annot"><span class="annottext">y :: Int32
</span><a href="#local-6989586621679509141"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509140"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509140"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-575"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509141"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-576"></span><span>          </span><span class="hs-comment">-- The divMod CPU instruction fails for minBound `divMod` -1,</span><span>
</span><span id="line-577"></span><span>          </span><span class="hs-comment">-- but minBound `mod` -1 is well-defined (0). We therefore</span><span>
</span><span id="line-578"></span><span>          </span><span class="hs-comment">-- special-case it.</span><span>
</span><span id="line-579"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509141"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span>
</span><span id="line-580"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509142"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Classes.html#modInt%23"><span class="hs-operator hs-var">`modInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509140"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-581"></span><span>    </span><span id="local-6989586621679509132"><span class="annot"><span class="annottext">quotRem :: Int32 -&gt; Int32 -&gt; (Int32, Int32)
</span><a href="#local-6989586621679509132"><span class="hs-identifier hs-var hs-var hs-var hs-var">quotRem</span></a></span></span><span> </span><span id="local-6989586621679509131"><span class="annot"><span class="annottext">x :: Int32
</span><a href="#local-6989586621679509131"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509130"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509130"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509129"><span class="annot"><span class="annottext">y :: Int32
</span><a href="#local-6989586621679509129"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509128"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509128"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-582"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509129"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Int32, Int32)
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-583"></span><span>          </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-584"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509129"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509131"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span class="hs-special">)</span><span>
</span><span id="line-585"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509130"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; (# Int#, Int# #)
</span><a href="../../ghc-prim/src/GHC.Prim.html#quotRemInt%23"><span class="hs-operator hs-var">`quotRemInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509128"><span class="hs-identifier hs-var">y#</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-586"></span><span>                                       </span><span class="hs-special">(#</span><span> </span><span id="local-6989586621679509127"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509127"><span class="hs-identifier hs-var">q</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679509126"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509126"><span class="hs-identifier hs-var">r</span></a></span></span><span> </span><span class="hs-special">#)</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-587"></span><span>                                           </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509127"><span class="hs-identifier hs-var">q</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-588"></span><span>                                            </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509126"><span class="hs-identifier hs-var">r</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-589"></span><span>    </span><span id="local-6989586621679509118"><span class="annot"><span class="annottext">divMod :: Int32 -&gt; Int32 -&gt; (Int32, Int32)
</span><a href="#local-6989586621679509118"><span class="hs-identifier hs-var hs-var hs-var hs-var">divMod</span></a></span></span><span>  </span><span id="local-6989586621679509117"><span class="annot"><span class="annottext">x :: Int32
</span><a href="#local-6989586621679509117"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509116"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509116"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509115"><span class="annot"><span class="annottext">y :: Int32
</span><a href="#local-6989586621679509115"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509114"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509114"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-590"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509115"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Int32, Int32)
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-591"></span><span>          </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-592"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509115"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509117"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0</span></span><span class="hs-special">)</span><span>
</span><span id="line-593"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509116"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; (# Int#, Int# #)
</span><a href="GHC.Base.html#divModInt%23"><span class="hs-operator hs-var">`divModInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509114"><span class="hs-identifier hs-var">y#</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-594"></span><span>                                       </span><span class="hs-special">(#</span><span> </span><span id="local-6989586621679509113"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509113"><span class="hs-identifier hs-var">d</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679509112"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509112"><span class="hs-identifier hs-var">m</span></a></span></span><span> </span><span class="hs-special">#)</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-595"></span><span>                                           </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509113"><span class="hs-identifier hs-var">d</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-596"></span><span>                                            </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509112"><span class="hs-identifier hs-var">m</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-597"></span><span>    </span><span id="local-6989586621679509111"><span class="annot"><span class="annottext">toInteger :: Int32 -&gt; Integer
</span><a href="GHC.Real.html#toInteger"><span class="hs-identifier hs-var hs-var hs-var hs-var">toInteger</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509110"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509110"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>              </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Integer
</span><a href="../../ghc-bignum/src/GHC.Num.Integer.html#IS"><span class="hs-identifier hs-var">IS</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509110"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-598"></span><span>
</span><span id="line-599"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-600"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509103"><span id="local-6989586621679509105"><span id="local-6989586621679509107"><span class="annot"><a href="GHC.Read.html#Read"><span class="hs-identifier hs-type">Read</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-601"></span><span>    </span><span id="local-6989586621679509099"><span class="annot"><span class="annottext">readsPrec :: Int -&gt; ReadS Int32
</span><a href="#local-6989586621679509099"><span class="hs-identifier hs-var hs-var hs-var hs-var">readsPrec</span></a></span></span><span> </span><span id="local-6989586621679509098"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509098"><span class="hs-identifier hs-var">p</span></a></span></span><span> </span><span id="local-6989586621679509097"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679509097"><span class="hs-identifier hs-var">s</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int -&gt; Int32
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509096"><span class="hs-identifier hs-var">x</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-identifier hs-type">Int</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679509095"><span class="hs-identifier hs-var">r</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">|</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679509096"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509096"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679509095"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679509095"><span class="hs-identifier hs-var">r</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">Int -&gt; ReadS Int
forall a. Read a =&gt; Int -&gt; ReadS a
</span><a href="GHC.Read.html#readsPrec"><span class="hs-identifier hs-var">readsPrec</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679509098"><span class="hs-identifier hs-var">p</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679509097"><span class="hs-identifier hs-var">s</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-602"></span><span>
</span><span id="line-603"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-604"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679509066"><span id="local-6989586621679509068"><span id="local-6989586621679509078"><span id="local-6989586621679509080"><span id="local-6989586621679509082"><span id="local-6989586621679509085"><span class="annot"><a href="Data.Bits.html#Bits"><span class="hs-identifier hs-type">Bits</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span></span></span></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-605"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#shift"><span class="hs-pragma hs-type">shift</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-606"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#bit"><span class="hs-pragma hs-type">bit</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-607"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#testBit"><span class="hs-pragma hs-type">testBit</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-608"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#popCount"><span class="hs-pragma hs-type">popCount</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-609"></span><span>
</span><span id="line-610"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509064"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509064"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509063"><span class="annot"><span class="annottext">.&amp;. :: Int32 -&gt; Int32 -&gt; Int32
</span><a href="#local-6989586621679509063"><span class="hs-operator hs-var hs-var hs-var hs-var">.&amp;.</span></a></span></span><span>   </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509062"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509062"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509064"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#andI%23"><span class="hs-operator hs-var">`andI#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509062"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-611"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509061"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509061"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509060"><span class="annot"><span class="annottext">.|. :: Int32 -&gt; Int32 -&gt; Int32
</span><a href="#local-6989586621679509060"><span class="hs-operator hs-var hs-var hs-var hs-var">.|.</span></a></span></span><span>   </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509059"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509059"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509061"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#orI%23"><span class="hs-operator hs-var">`orI#`</span></a></span><span>  </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509059"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-612"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509058"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509058"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509057"><span class="annot"><span class="annottext">xor :: Int32 -&gt; Int32 -&gt; Int32
</span><a href="#local-6989586621679509057"><span class="hs-operator hs-var hs-var hs-var hs-var">`xor`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509056"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509056"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509058"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#xorI%23"><span class="hs-operator hs-var">`xorI#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509056"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-613"></span><span>    </span><span id="local-6989586621679509055"><span class="annot"><span class="annottext">complement :: Int32 -&gt; Int32
</span><a href="#local-6989586621679509055"><span class="hs-identifier hs-var hs-var hs-var hs-var">complement</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509054"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509054"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#notI%23"><span class="hs-identifier hs-var">notI#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509054"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-614"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509053"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509053"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509052"><span class="annot"><span class="annottext">shift :: Int32 -&gt; Int -&gt; Int32
</span><a href="#local-6989586621679509052"><span class="hs-operator hs-var hs-var hs-var hs-var">`shift`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509051"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509051"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-615"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509051"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509053"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftL%23"><span class="hs-operator hs-var">`iShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509051"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-616"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509053"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftRA%23"><span class="hs-operator hs-var">`iShiftRA#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#negateInt%23"><span class="hs-identifier hs-var">negateInt#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509051"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-617"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509050"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509050"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509049"><span class="annot"><span class="annottext">shiftL :: Int32 -&gt; Int -&gt; Int32
</span><a href="#local-6989586621679509049"><span class="hs-operator hs-var hs-var hs-var hs-var">`shiftL`</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509048"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509048"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-618"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509048"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509050"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftL%23"><span class="hs-operator hs-var">`iShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509048"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-619"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span>
</span><span id="line-620"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509047"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509047"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509046"><span class="annot"><span class="annottext">unsafeShiftL :: Int32 -&gt; Int -&gt; Int32
</span><a href="#local-6989586621679509046"><span class="hs-operator hs-var hs-var hs-var hs-var">`unsafeShiftL`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509045"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509045"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-621"></span><span>        </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509047"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedIShiftL%23"><span class="hs-operator hs-var">`uncheckedIShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509045"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-622"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509044"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509044"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509043"><span class="annot"><span class="annottext">shiftR :: Int32 -&gt; Int -&gt; Int32
</span><a href="#local-6989586621679509043"><span class="hs-operator hs-var hs-var hs-var hs-var">`shiftR`</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509042"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509042"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-623"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509042"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509044"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftRA%23"><span class="hs-operator hs-var">`iShiftRA#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509042"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-624"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span>
</span><span id="line-625"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509041"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509041"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509040"><span class="annot"><span class="annottext">unsafeShiftR :: Int32 -&gt; Int -&gt; Int32
</span><a href="#local-6989586621679509040"><span class="hs-operator hs-var hs-var hs-var hs-var">`unsafeShiftR`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509039"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509039"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509041"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedIShiftRA%23"><span class="hs-operator hs-var">`uncheckedIShiftRA#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509039"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-626"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509038"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509038"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679509037"><span class="annot"><span class="annottext">rotate :: Int32 -&gt; Int -&gt; Int32
</span><a href="#local-6989586621679509037"><span class="hs-operator hs-var hs-var hs-var hs-var">`rotate`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509036"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509036"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-627"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509035"><span class="hs-identifier hs-var">i'#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3D%3D%23"><span class="hs-operator hs-var">==#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>
</span><span id="line-628"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509038"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-629"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>
</span><span id="line-630"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int32
</span><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-var">I32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-identifier hs-var">narrow32Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word#
</span><a href="#local-6989586621679509034"><span class="hs-identifier hs-var">x'#</span></a></span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedShiftL%23"><span class="hs-operator hs-var">`uncheckedShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509035"><span class="hs-identifier hs-var">i'#</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#or%23"><span class="hs-operator hs-var">`or#`</span></a></span><span>
</span><span id="line-631"></span><span>                                         </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word#
</span><a href="#local-6989586621679509034"><span class="hs-identifier hs-var">x'#</span></a></span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedShiftRL%23"><span class="hs-operator hs-var">`uncheckedShiftRL#`</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">32#</span></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#-%23"><span class="hs-operator hs-var">-#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509035"><span class="hs-identifier hs-var">i'#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-632"></span><span>        </span><span class="hs-keyword">where</span><span>
</span><span id="line-633"></span><span>        </span><span class="hs-glyph">!</span><span id="local-6989586621679509034"><span class="annot"><span class="annottext">x'# :: Word#
</span><a href="#local-6989586621679509034"><span class="hs-identifier hs-var hs-var">x'#</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Word%23"><span class="hs-identifier hs-var">narrow32Word#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509038"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-634"></span><span>        </span><span class="hs-glyph">!</span><span id="local-6989586621679509035"><span class="annot"><span class="annottext">i'# :: Int#
</span><a href="#local-6989586621679509035"><span class="hs-identifier hs-var hs-var">i'#</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509036"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#and%23"><span class="hs-operator hs-var">`and#`</span></a></span><span> </span><span class="annot"><span class="annottext">Word#
</span><span class="hs-number">31##</span></span><span class="hs-special">)</span><span>
</span><span id="line-635"></span><span>    </span><span id="local-6989586621679509031"><span class="annot"><span class="annottext">bitSizeMaybe :: Int32 -&gt; Maybe Int
</span><a href="#local-6989586621679509031"><span class="hs-identifier hs-var hs-var hs-var hs-var">bitSizeMaybe</span></a></span></span><span> </span><span id="local-6989586621679509030"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509030"><span class="hs-identifier hs-var">i</span></a></span></span><span>             </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Maybe Int
forall a. a -&gt; Maybe a
</span><a href="GHC.Maybe.html#Just"><span class="hs-identifier hs-var">Just</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int32 -&gt; Int
forall b. FiniteBits b =&gt; b -&gt; Int
</span><a href="Data.Bits.html#finiteBitSize"><span class="hs-identifier hs-var">finiteBitSize</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509030"><span class="hs-identifier hs-var">i</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-636"></span><span>    </span><span id="local-6989586621679509028"><span class="annot"><span class="annottext">bitSize :: Int32 -&gt; Int
</span><a href="#local-6989586621679509028"><span class="hs-identifier hs-var hs-var hs-var hs-var">bitSize</span></a></span></span><span> </span><span id="local-6989586621679509027"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509027"><span class="hs-identifier hs-var">i</span></a></span></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int
forall b. FiniteBits b =&gt; b -&gt; Int
</span><a href="Data.Bits.html#finiteBitSize"><span class="hs-identifier hs-var">finiteBitSize</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679509027"><span class="hs-identifier hs-var">i</span></a></span><span>
</span><span id="line-637"></span><span>    </span><span id="local-6989586621679509026"><span class="annot"><span class="annottext">isSigned :: Int32 -&gt; Bool
</span><a href="#local-6989586621679509026"><span class="hs-identifier hs-var hs-var hs-var hs-var">isSigned</span></a></span></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-identifier">_</span></span><span>                 </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#True"><span class="hs-identifier hs-var">True</span></a></span><span>
</span><span id="line-638"></span><span>    </span><span id="local-6989586621679509025"><span class="annot"><span class="annottext">popCount :: Int32 -&gt; Int
</span><a href="#local-6989586621679509025"><span class="hs-identifier hs-var hs-var hs-var hs-var">popCount</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509024"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509024"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#popCnt32%23"><span class="hs-identifier hs-var">popCnt32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509024"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-639"></span><span>    </span><span id="local-6989586621679509021"><span class="annot"><span class="annottext">bit :: Int -&gt; Int32
</span><a href="#local-6989586621679509021"><span class="hs-identifier hs-var hs-var hs-var hs-var">bit</span></a></span></span><span>                        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int32
forall a. (Bits a, Num a) =&gt; Int -&gt; a
</span><a href="Data.Bits.html#bitDefault"><span class="hs-identifier hs-var">bitDefault</span></a></span><span>
</span><span id="line-640"></span><span>    </span><span id="local-6989586621679509018"><span class="annot"><span class="annottext">testBit :: Int32 -&gt; Int -&gt; Bool
</span><a href="#local-6989586621679509018"><span class="hs-identifier hs-var hs-var hs-var hs-var">testBit</span></a></span></span><span>                    </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int -&gt; Bool
forall a. (Bits a, Num a) =&gt; a -&gt; Int -&gt; Bool
</span><a href="Data.Bits.html#testBitDefault"><span class="hs-identifier hs-var">testBitDefault</span></a></span><span>
</span><span id="line-641"></span><span>
</span><span id="line-642"></span><span class="hs-comment">-- | @since 4.6.0.0</span><span>
</span><span id="line-643"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="Data.Bits.html#FiniteBits"><span class="hs-identifier hs-type">FiniteBits</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-644"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#countLeadingZeros"><span class="hs-pragma hs-type">countLeadingZeros</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-645"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#countTrailingZeros"><span class="hs-pragma hs-type">countTrailingZeros</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-646"></span><span>    </span><span id="local-6989586621679509012"><span class="annot"><span class="annottext">finiteBitSize :: Int32 -&gt; Int
</span><a href="#local-6989586621679509012"><span class="hs-identifier hs-var hs-var hs-var hs-var">finiteBitSize</span></a></span></span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">32</span></span><span>
</span><span id="line-647"></span><span>    </span><span id="local-6989586621679509011"><span class="annot"><span class="annottext">countLeadingZeros :: Int32 -&gt; Int
</span><a href="#local-6989586621679509011"><span class="hs-identifier hs-var hs-var hs-var hs-var">countLeadingZeros</span></a></span></span><span>  </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509010"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509010"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#clz32%23"><span class="hs-identifier hs-var">clz32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509010"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-648"></span><span>    </span><span id="local-6989586621679509009"><span class="annot"><span class="annottext">countTrailingZeros :: Int32 -&gt; Int
</span><a href="#local-6989586621679509009"><span class="hs-identifier hs-var hs-var hs-var hs-var">countTrailingZeros</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-identifier hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509008"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509008"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#ctz32%23"><span class="hs-identifier hs-var">ctz32#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679509008"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-649"></span><span>
</span><span id="line-650"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-651"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Word8-&gt;Int32&quot;</span></span><span>  </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Word.html#W8%23"><span class="hs-pragma hs-type">W8#</span></a></span><span> </span><span id="local-6989586621679509007"><span class="annot"><a href="#local-6989586621679509007"><span class="hs-pragma hs-var">x#</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-pragma hs-type">I32#</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-pragma hs-type">word2Int#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509007"><span class="hs-pragma hs-type">x#</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-652"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Word16-&gt;Int32&quot;</span></span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Word.html#W16%23"><span class="hs-pragma hs-type">W16#</span></a></span><span> </span><span id="local-6989586621679509005"><span class="annot"><a href="#local-6989586621679509005"><span class="hs-pragma hs-var">x#</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-pragma hs-type">I32#</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-pragma hs-type">word2Int#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509005"><span class="hs-pragma hs-type">x#</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-653"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int8-&gt;Int32&quot;</span></span><span>   </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Int.html#I8%23"><span class="hs-pragma hs-type">I8#</span></a></span><span> </span><span id="local-6989586621679509004"><span class="annot"><a href="#local-6989586621679509004"><span class="hs-pragma hs-var">x#</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-pragma hs-type">I32#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509004"><span class="hs-pragma hs-type">x#</span></a></span><span>
</span><span id="line-654"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int16-&gt;Int32&quot;</span></span><span>  </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Int.html#I16%23"><span class="hs-pragma hs-type">I16#</span></a></span><span> </span><span id="local-6989586621679509003"><span class="annot"><a href="#local-6989586621679509003"><span class="hs-pragma hs-var">x#</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-pragma hs-type">I32#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509003"><span class="hs-pragma hs-type">x#</span></a></span><span>
</span><span id="line-655"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int32-&gt;Int32&quot;</span></span><span>  </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="annot"><a href="GHC.Base.html#id"><span class="hs-pragma hs-type">id</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span>
</span><span id="line-656"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/a-&gt;Int32&quot;</span></span><span>      </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span id="local-6989586621679509002"><span class="annot"><a href="#local-6989586621679509002"><span class="hs-pragma hs-var">x</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">case</span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509002"><span class="hs-pragma hs-type">x</span></a></span><span> </span><span class="hs-pragma">of</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-pragma hs-type">I#</span></a></span><span> </span><span id="local-6989586621679509001"><span class="annot"><a href="#local-6989586621679509001"><span class="hs-pragma hs-var">x#</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-pragma hs-type">I32#</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#narrow32Int%23"><span class="hs-pragma hs-type">narrow32Int#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509001"><span class="hs-pragma hs-type">x#</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-657"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int32-&gt;a&quot;</span></span><span>      </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Int.html#I32%23"><span class="hs-pragma hs-type">I32#</span></a></span><span> </span><span id="local-6989586621679509000"><span class="annot"><a href="#local-6989586621679509000"><span class="hs-pragma hs-var">x#</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-pragma hs-type">I#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679509000"><span class="hs-pragma hs-type">x#</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-658"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-659"></span><span>
</span><span id="line-660"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-661"></span><span class="annot"><span class="hs-pragma">&quot;properFraction/Float-&gt;(Int32,Float)&quot;</span></span><span>
</span><span id="line-662"></span><span>    </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span id="local-6989586621679508999"><span class="annot"><a href="#local-6989586621679508999"><span class="hs-pragma hs-var">x</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span>
</span><span id="line-663"></span><span>                      </span><span class="hs-pragma">case</span><span> </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679508999"><span class="hs-pragma hs-type">x</span></a></span><span> </span><span class="hs-pragma">of</span><span> </span><span class="hs-pragma">{</span><span>
</span><span id="line-664"></span><span>                        </span><span class="hs-pragma">(</span><span id="local-6989586621679508998"><span class="annot"><a href="#local-6989586621679508998"><span class="hs-pragma hs-var">n</span></a></span></span><span class="hs-pragma">,</span><span> </span><span id="local-6989586621679508997"><span class="annot"><a href="#local-6989586621679508997"><span class="hs-pragma hs-var">y</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="#local-6989586621679508998"><span class="hs-pragma hs-type">n</span></a></span><span class="hs-pragma">,</span><span> </span><span class="annot"><a href="#local-6989586621679508997"><span class="hs-pragma hs-type">y</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">}</span><span>
</span><span id="line-665"></span><span class="annot"><span class="hs-pragma">&quot;truncate/Float-&gt;Int32&quot;</span></span><span>
</span><span id="line-666"></span><span>    </span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-667"></span><span class="annot"><span class="hs-pragma">&quot;floor/Float-&gt;Int32&quot;</span></span><span>
</span><span id="line-668"></span><span>    </span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-669"></span><span class="annot"><span class="hs-pragma">&quot;ceiling/Float-&gt;Int32&quot;</span></span><span>
</span><span id="line-670"></span><span>    </span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span>  </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-671"></span><span class="annot"><span class="hs-pragma">&quot;round/Float-&gt;Int32&quot;</span></span><span>
</span><span id="line-672"></span><span>    </span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>  </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-673"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-674"></span><span>
</span><span id="line-675"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-676"></span><span class="annot"><span class="hs-pragma">&quot;properFraction/Double-&gt;(Int32,Double)&quot;</span></span><span>
</span><span id="line-677"></span><span>    </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span id="local-6989586621679508996"><span class="annot"><a href="#local-6989586621679508996"><span class="hs-pragma hs-var">x</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span>
</span><span id="line-678"></span><span>                      </span><span class="hs-pragma">case</span><span> </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679508996"><span class="hs-pragma hs-type">x</span></a></span><span> </span><span class="hs-pragma">of</span><span> </span><span class="hs-pragma">{</span><span>
</span><span id="line-679"></span><span>                        </span><span class="hs-pragma">(</span><span id="local-6989586621679508995"><span class="annot"><a href="#local-6989586621679508995"><span class="hs-pragma hs-var">n</span></a></span></span><span class="hs-pragma">,</span><span> </span><span id="local-6989586621679508994"><span class="annot"><a href="#local-6989586621679508994"><span class="hs-pragma hs-var">y</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="#local-6989586621679508995"><span class="hs-pragma hs-type">n</span></a></span><span class="hs-pragma">,</span><span> </span><span class="annot"><a href="#local-6989586621679508994"><span class="hs-pragma hs-type">y</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">}</span><span>
</span><span id="line-680"></span><span class="annot"><span class="hs-pragma">&quot;truncate/Double-&gt;Int32&quot;</span></span><span>
</span><span id="line-681"></span><span>    </span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-682"></span><span class="annot"><span class="hs-pragma">&quot;floor/Double-&gt;Int32&quot;</span></span><span>
</span><span id="line-683"></span><span>    </span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-684"></span><span class="annot"><span class="hs-pragma">&quot;ceiling/Double-&gt;Int32&quot;</span></span><span>
</span><span id="line-685"></span><span>    </span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span>  </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-686"></span><span class="annot"><span class="hs-pragma">&quot;round/Double-&gt;Int32&quot;</span></span><span>
</span><span id="line-687"></span><span>    </span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>  </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-688"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-689"></span><span>
</span><span id="line-690"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-691"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Real.html#Real"><span class="hs-identifier hs-type">Real</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-692"></span><span>    </span><span id="local-6989586621679508985"><span class="annot"><span class="annottext">toRational :: Int32 -&gt; Rational
</span><a href="GHC.Real.html#toRational"><span class="hs-identifier hs-var hs-var hs-var hs-var">toRational</span></a></span></span><span> </span><span id="local-6989586621679508984"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508984"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Integer
forall a. Integral a =&gt; a -&gt; Integer
</span><a href="GHC.Real.html#toInteger"><span class="hs-identifier hs-var">toInteger</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508984"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Integer -&gt; Integer -&gt; Rational
forall a. Integral a =&gt; a -&gt; a -&gt; Ratio a
</span><a href="GHC.Real.html#%25"><span class="hs-operator hs-var">%</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><span class="hs-number">1</span></span><span>
</span><span id="line-693"></span><span>
</span><span id="line-694"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-695"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Enum.html#Bounded"><span class="hs-identifier hs-type">Bounded</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-696"></span><span>    </span><span id="local-6989586621679508980"><span class="annot"><span class="annottext">minBound :: Int32
</span><a href="#local-6989586621679508980"><span class="hs-identifier hs-var hs-var hs-var hs-var">minBound</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">-0x80000000</span></span><span>
</span><span id="line-697"></span><span>    </span><span id="local-6989586621679508978"><span class="annot"><span class="annottext">maxBound :: Int32
</span><a href="#local-6989586621679508978"><span class="hs-identifier hs-var hs-var hs-var hs-var">maxBound</span></a></span></span><span> </span><span class="hs-glyph">=</span><span>  </span><span class="annot"><span class="annottext">Int32
</span><span class="hs-number">0x7FFFFFFF</span></span><span>
</span><span id="line-698"></span><span>
</span><span id="line-699"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-700"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679508967"><span id="local-6989586621679508969"><span id="local-6989586621679508973"><span class="annot"><a href="GHC.Ix.html#Ix"><span class="hs-identifier hs-type">Ix</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-701"></span><span>    </span><span id="local-6989586621679508965"><span class="annot"><span class="annottext">range :: (Int32, Int32) -&gt; [Int32]
</span><a href="#local-6989586621679508965"><span class="hs-identifier hs-var hs-var hs-var hs-var">range</span></a></span></span><span> </span><span class="hs-special">(</span><span id="local-6989586621679508964"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508964"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">,</span><span id="local-6989586621679508963"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508963"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508964"><span class="hs-identifier hs-var">m</span></a></span><span class="hs-glyph">..</span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508963"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-702"></span><span>    </span><span id="local-6989586621679508957"><span class="annot"><span class="annottext">unsafeIndex :: (Int32, Int32) -&gt; Int32 -&gt; Int
</span><a href="#local-6989586621679508957"><span class="hs-identifier hs-var hs-var hs-var hs-var">unsafeIndex</span></a></span></span><span> </span><span class="hs-special">(</span><span id="local-6989586621679508956"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508956"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">,</span><span class="annot"><span class="annottext">Int32
</span><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508955"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508955"><span class="hs-identifier hs-var">i</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508955"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Int
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508956"><span class="hs-identifier hs-var">m</span></a></span><span>
</span><span id="line-703"></span><span>    </span><span id="local-6989586621679508952"><span class="annot"><span class="annottext">inRange :: (Int32, Int32) -&gt; Int32 -&gt; Bool
</span><a href="#local-6989586621679508952"><span class="hs-identifier hs-var hs-var hs-var hs-var">inRange</span></a></span></span><span> </span><span class="hs-special">(</span><span id="local-6989586621679508951"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508951"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">,</span><span id="local-6989586621679508950"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508950"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508949"><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508949"><span class="hs-identifier hs-var">i</span></a></span></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508951"><span class="hs-identifier hs-var">m</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C%3D"><span class="hs-operator hs-var">&lt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508949"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508949"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int32 -&gt; Int32 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C%3D"><span class="hs-operator hs-var">&lt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int32
</span><a href="#local-6989586621679508950"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-704"></span><span>
</span><span id="line-705"></span><span class="hs-comment">------------------------------------------------------------------------</span><span>
</span><span id="line-706"></span><span class="hs-comment">-- type Int64</span><span>
</span><span id="line-707"></span><span class="hs-comment">------------------------------------------------------------------------</span><span class="hs-cpp">

#if WORD_SIZE_IN_BITS &lt; 64
</span><span>
</span><span id="line-711"></span><span class="hs-keyword">data</span><span> </span><span class="hs-pragma">{-# CTYPE</span><span> </span><span class="hs-pragma">&quot;HsInt64&quot;</span><span> </span><span class="hs-pragma">#-}</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">Int64#</span><span>
</span><span id="line-712"></span><span class="hs-comment">-- ^ 64-bit signed integer type</span><span>
</span><span id="line-713"></span><span>
</span><span id="line-714"></span><span class="hs-comment">-- See GHC.Classes#matching_overloaded_methods_in_rules</span><span>
</span><span id="line-715"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-716"></span><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier">Eq</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-717"></span><span>    </span><span class="hs-special">(</span><span class="hs-operator">==</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">eqInt64</span><span>
</span><span id="line-718"></span><span>    </span><span class="hs-special">(</span><span class="hs-operator">/=</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">neInt64</span><span>
</span><span id="line-719"></span><span>
</span><span id="line-720"></span><span class="hs-identifier">eqInt64</span><span class="hs-special">,</span><span> </span><span class="hs-identifier">neInt64</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier">Bool</span><span>
</span><span id="line-721"></span><span class="hs-identifier">eqInt64</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x</span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">eqInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y</span><span class="hs-special">)</span><span>
</span><span id="line-722"></span><span class="hs-identifier">neInt64</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x</span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">neInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y</span><span class="hs-special">)</span><span>
</span><span id="line-723"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="hs-pragma">eqInt64</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-724"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="hs-pragma">neInt64</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-725"></span><span>
</span><span id="line-726"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-727"></span><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier">Ord</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-728"></span><span>    </span><span class="hs-special">(</span><span class="hs-operator">&lt;</span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">ltInt64</span><span>
</span><span id="line-729"></span><span>    </span><span class="hs-special">(</span><span class="hs-operator">&lt;=</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">leInt64</span><span>
</span><span id="line-730"></span><span>    </span><span class="hs-special">(</span><span class="hs-operator">&gt;=</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">geInt64</span><span>
</span><span id="line-731"></span><span>    </span><span class="hs-special">(</span><span class="hs-operator">&gt;</span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">gtInt64</span><span>
</span><span id="line-732"></span><span>
</span><span id="line-733"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="hs-pragma">gtInt64</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-734"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="hs-pragma">geInt64</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-735"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="hs-pragma">ltInt64</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-736"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="hs-pragma">leInt64</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-737"></span><span class="hs-identifier">gtInt64</span><span class="hs-special">,</span><span> </span><span class="hs-identifier">geInt64</span><span class="hs-special">,</span><span> </span><span class="hs-identifier">ltInt64</span><span class="hs-special">,</span><span> </span><span class="hs-identifier">leInt64</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier">Bool</span><span>
</span><span id="line-738"></span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">gtInt64</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">gtInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y</span><span class="hs-special">)</span><span>
</span><span id="line-739"></span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">geInt64</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">geInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y</span><span class="hs-special">)</span><span>
</span><span id="line-740"></span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">ltInt64</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">ltInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y</span><span class="hs-special">)</span><span>
</span><span id="line-741"></span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">leInt64</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">leInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y</span><span class="hs-special">)</span><span>
</span><span id="line-742"></span><span>
</span><span id="line-743"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-744"></span><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier">Show</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-745"></span><span>    </span><span class="hs-identifier">showsPrec</span><span> </span><span class="hs-identifier">p</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">showsPrec</span><span> </span><span class="hs-identifier">p</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">toInteger</span><span> </span><span class="hs-identifier">x</span><span class="hs-special">)</span><span>
</span><span id="line-746"></span><span>
</span><span id="line-747"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-748"></span><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier">Num</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-749"></span><span>    </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-operator">+</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">plusInt64#</span><span class="hs-special">`</span><span>  </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-750"></span><span>    </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">-</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">minusInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-751"></span><span>    </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-operator">*</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">timesInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-752"></span><span>    </span><span class="hs-identifier">negate</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">negateInt64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span>
</span><span id="line-753"></span><span>    </span><span class="hs-identifier">abs</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-operator">&gt;=</span><span> </span><span class="hs-number">0</span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">x</span><span>
</span><span id="line-754"></span><span>          </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">negate</span><span> </span><span class="hs-identifier">x</span><span>
</span><span id="line-755"></span><span>    </span><span class="hs-identifier">signum</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-operator">&gt;</span><span> </span><span class="hs-number">0</span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="hs-number">1</span><span>
</span><span id="line-756"></span><span>    </span><span class="hs-identifier">signum</span><span> </span><span class="hs-number">0</span><span>               </span><span class="hs-glyph">=</span><span> </span><span class="hs-number">0</span><span>
</span><span id="line-757"></span><span>    </span><span class="hs-identifier">signum</span><span> </span><span class="hs-identifier">_</span><span>               </span><span class="hs-glyph">=</span><span> </span><span class="hs-number">-1</span><span>
</span><span id="line-758"></span><span>    </span><span class="hs-identifier">fromInteger</span><span> </span><span class="hs-identifier">i</span><span>          </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">integerToInt64#</span><span> </span><span class="hs-identifier">i</span><span class="hs-special">)</span><span>
</span><span id="line-759"></span><span>
</span><span id="line-760"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-761"></span><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier">Enum</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-762"></span><span>    </span><span class="hs-identifier">succ</span><span> </span><span class="hs-identifier">x</span><span>
</span><span id="line-763"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-operator">/=</span><span> </span><span class="hs-identifier">maxBound</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-operator">+</span><span> </span><span class="hs-number">1</span><span>
</span><span id="line-764"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">succError</span><span> </span><span class="hs-string">&quot;Int64&quot;</span><span>
</span><span id="line-765"></span><span>    </span><span class="hs-identifier">pred</span><span> </span><span class="hs-identifier">x</span><span>
</span><span id="line-766"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-operator">/=</span><span> </span><span class="hs-identifier">minBound</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-glyph">-</span><span> </span><span class="hs-number">1</span><span>
</span><span id="line-767"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">predError</span><span> </span><span class="hs-string">&quot;Int64&quot;</span><span>
</span><span id="line-768"></span><span>    </span><span class="hs-identifier">toEnum</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I#</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">intToInt64#</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>
</span><span id="line-769"></span><span>    </span><span class="hs-identifier">fromEnum</span><span> </span><span class="hs-identifier">x</span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span>
</span><span id="line-770"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-operator">&gt;=</span><span> </span><span class="hs-identifier">fromIntegral</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">minBound</span><span class="hs-glyph">::</span><span class="hs-identifier">Int</span><span class="hs-special">)</span><span> </span><span class="hs-operator">&amp;&amp;</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-operator">&lt;=</span><span> </span><span class="hs-identifier">fromIntegral</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">maxBound</span><span class="hs-glyph">::</span><span class="hs-identifier">Int</span><span class="hs-special">)</span><span>
</span><span id="line-771"></span><span>                        </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">int64ToInt#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span>
</span><span id="line-772"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">fromEnumError</span><span> </span><span class="hs-string">&quot;Int64&quot;</span><span> </span><span class="hs-identifier">x</span><span>
</span><span id="line-773"></span><span>    </span><span class="hs-comment">-- See Note [Stable Unfolding for list producers] in GHC.Enum</span><span>
</span><span id="line-774"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">enumFrom</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-775"></span><span>    </span><span class="hs-identifier">enumFrom</span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">integralEnumFrom</span><span>
</span><span id="line-776"></span><span>    </span><span class="hs-comment">-- See Note [Stable Unfolding for list producers] in GHC.Enum</span><span>
</span><span id="line-777"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">enumFromThen</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-778"></span><span>    </span><span class="hs-identifier">enumFromThen</span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">integralEnumFromThen</span><span>
</span><span id="line-779"></span><span>    </span><span class="hs-comment">-- See Note [Stable Unfolding for list producers] in GHC.Enum</span><span>
</span><span id="line-780"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">enumFromTo</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-781"></span><span>    </span><span class="hs-identifier">enumFromTo</span><span>          </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">integralEnumFromTo</span><span>
</span><span id="line-782"></span><span>    </span><span class="hs-comment">-- See Note [Stable Unfolding for list producers] in GHC.Enum</span><span>
</span><span id="line-783"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">enumFromThenTo</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-784"></span><span>    </span><span class="hs-identifier">enumFromThenTo</span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">integralEnumFromThenTo</span><span>
</span><span id="line-785"></span><span>
</span><span id="line-786"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-787"></span><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier">Integral</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-788"></span><span>    </span><span class="hs-identifier">quot</span><span>    </span><span class="hs-identifier">x</span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-identifier">y</span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-789"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">y</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-number">0</span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">divZeroError</span><span>
</span><span id="line-790"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">y</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-special">(</span><span class="hs-number">-1</span><span class="hs-special">)</span><span> </span><span class="hs-operator">&amp;&amp;</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-identifier">minBound</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">overflowError</span><span> </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-791"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">quotInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-792"></span><span>    </span><span class="hs-identifier">rem</span><span>       </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-identifier">y</span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-793"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">y</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-number">0</span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">divZeroError</span><span>
</span><span id="line-794"></span><span>          </span><span class="hs-comment">-- The quotRem CPU instruction fails for minBound `quotRem` -1,</span><span>
</span><span id="line-795"></span><span>          </span><span class="hs-comment">-- but minBound `rem` -1 is well-defined (0). We therefore</span><span>
</span><span id="line-796"></span><span>          </span><span class="hs-comment">-- special-case it.</span><span>
</span><span id="line-797"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">y</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-special">(</span><span class="hs-number">-1</span><span class="hs-special">)</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-number">0</span><span>
</span><span id="line-798"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">remInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-799"></span><span>    </span><span class="hs-identifier">div</span><span>     </span><span class="hs-identifier">x</span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-identifier">y</span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-800"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">y</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-number">0</span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">divZeroError</span><span>
</span><span id="line-801"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">y</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-special">(</span><span class="hs-number">-1</span><span class="hs-special">)</span><span> </span><span class="hs-operator">&amp;&amp;</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-identifier">minBound</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">overflowError</span><span> </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-802"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">divInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-803"></span><span>    </span><span class="hs-identifier">mod</span><span>       </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-identifier">y</span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-804"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">y</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-number">0</span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">divZeroError</span><span>
</span><span id="line-805"></span><span>          </span><span class="hs-comment">-- The divMod CPU instruction fails for minBound `divMod` -1,</span><span>
</span><span id="line-806"></span><span>          </span><span class="hs-comment">-- but minBound `mod` -1 is well-defined (0). We therefore</span><span>
</span><span id="line-807"></span><span>          </span><span class="hs-comment">-- special-case it.</span><span>
</span><span id="line-808"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">y</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-special">(</span><span class="hs-number">-1</span><span class="hs-special">)</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-number">0</span><span>
</span><span id="line-809"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">modInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-810"></span><span>    </span><span class="hs-identifier">quotRem</span><span> </span><span class="hs-identifier">x</span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-identifier">y</span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-811"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">y</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-number">0</span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">divZeroError</span><span>
</span><span id="line-812"></span><span>          </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-813"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">y</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-special">(</span><span class="hs-number">-1</span><span class="hs-special">)</span><span> </span><span class="hs-operator">&amp;&amp;</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-identifier">minBound</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">overflowError</span><span class="hs-special">,</span><span> </span><span class="hs-number">0</span><span class="hs-special">)</span><span>
</span><span id="line-814"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">quotInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-815"></span><span>                                        </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">remInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-816"></span><span>    </span><span class="hs-identifier">divMod</span><span>  </span><span class="hs-identifier">x</span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-identifier">y</span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>
</span><span id="line-817"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">y</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-number">0</span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">divZeroError</span><span>
</span><span id="line-818"></span><span>          </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-819"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">y</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-special">(</span><span class="hs-number">-1</span><span class="hs-special">)</span><span> </span><span class="hs-operator">&amp;&amp;</span><span> </span><span class="hs-identifier">x</span><span> </span><span class="hs-operator">==</span><span> </span><span class="hs-identifier">minBound</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">overflowError</span><span class="hs-special">,</span><span> </span><span class="hs-number">0</span><span class="hs-special">)</span><span>
</span><span id="line-820"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">divInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-821"></span><span>                                        </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">modInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-822"></span><span>    </span><span class="hs-identifier">toInteger</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x</span><span class="hs-special">)</span><span>               </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">integerFromInt64#</span><span> </span><span class="hs-identifier">x</span><span>
</span><span id="line-823"></span><span>
</span><span id="line-824"></span><span>
</span><span id="line-825"></span><span class="hs-identifier">divInt64#</span><span class="hs-special">,</span><span> </span><span class="hs-identifier">modInt64#</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">Int64#</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier">Int64#</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier">Int64#</span><span>
</span><span id="line-826"></span><span>
</span><span id="line-827"></span><span class="hs-comment">-- Define div in terms of quot, being careful to avoid overflow (#7233)</span><span>
</span><span id="line-828"></span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">divInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span>
</span><span id="line-829"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">gtInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">zero</span><span class="hs-special">)</span><span> </span><span class="hs-operator">&amp;&amp;</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">y#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">ltInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">zero</span><span class="hs-special">)</span><span>
</span><span id="line-830"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">minusInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">one</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">quotInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">minusInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">one</span><span>
</span><span id="line-831"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">ltInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">zero</span><span class="hs-special">)</span><span> </span><span class="hs-operator">&amp;&amp;</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">y#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">gtInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">zero</span><span class="hs-special">)</span><span>
</span><span id="line-832"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">plusInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">one</span><span class="hs-special">)</span><span>  </span><span class="hs-special">`</span><span class="hs-identifier">quotInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">minusInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">one</span><span>
</span><span id="line-833"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>
</span><span id="line-834"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">quotInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span>
</span><span id="line-835"></span><span>    </span><span class="hs-keyword">where</span><span>
</span><span id="line-836"></span><span>    </span><span class="hs-glyph">!</span><span class="hs-identifier">zero</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">intToInt64#</span><span> </span><span class="hs-number">0#</span><span>
</span><span id="line-837"></span><span>    </span><span class="hs-glyph">!</span><span class="hs-identifier">one</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">intToInt64#</span><span> </span><span class="hs-number">1#</span><span>
</span><span id="line-838"></span><span>
</span><span id="line-839"></span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">modInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span>
</span><span id="line-840"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">gtInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">zero</span><span class="hs-special">)</span><span> </span><span class="hs-operator">&amp;&amp;</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">y#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">ltInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">zero</span><span class="hs-special">)</span><span> </span><span class="hs-operator">||</span><span>
</span><span id="line-841"></span><span>      </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">ltInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">zero</span><span class="hs-special">)</span><span> </span><span class="hs-operator">&amp;&amp;</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">y#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">gtInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">zero</span><span class="hs-special">)</span><span>
</span><span id="line-842"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">if</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">r#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">neInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">zero</span><span class="hs-special">)</span><span> </span><span class="hs-keyword">then</span><span> </span><span class="hs-identifier">r#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">plusInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span> </span><span class="hs-keyword">else</span><span> </span><span class="hs-identifier">zero</span><span>
</span><span id="line-843"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">r#</span><span>
</span><span id="line-844"></span><span>    </span><span class="hs-keyword">where</span><span>
</span><span id="line-845"></span><span>    </span><span class="hs-glyph">!</span><span class="hs-identifier">zero</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">intToInt64#</span><span> </span><span class="hs-number">0#</span><span>
</span><span id="line-846"></span><span>    </span><span class="hs-glyph">!</span><span class="hs-identifier">r#</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">remInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">y#</span><span>
</span><span id="line-847"></span><span>
</span><span id="line-848"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-849"></span><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier">Read</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-850"></span><span>    </span><span class="hs-identifier">readsPrec</span><span> </span><span class="hs-identifier">p</span><span> </span><span class="hs-identifier">s</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="hs-special">(</span><span class="hs-identifier">fromInteger</span><span> </span><span class="hs-identifier">x</span><span class="hs-special">,</span><span> </span><span class="hs-identifier">r</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">|</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x</span><span class="hs-special">,</span><span> </span><span class="hs-identifier">r</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="hs-identifier">readsPrec</span><span> </span><span class="hs-identifier">p</span><span> </span><span class="hs-identifier">s</span><span class="hs-special">]</span><span>
</span><span id="line-851"></span><span>
</span><span id="line-852"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-853"></span><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier">Bits</span><span> </span><span class="hs-identifier">Int64</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-854"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">shift</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-855"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">bit</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-856"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">testBit</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-857"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">popCount</span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-858"></span><span>
</span><span id="line-859"></span><span>    </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-operator">.&amp;.</span><span>   </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">word64ToInt64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">int64ToWord64#</span><span> </span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">and64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">int64ToWord64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-860"></span><span>    </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-operator">.|.</span><span>   </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">word64ToInt64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">int64ToWord64#</span><span> </span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">or64#</span><span class="hs-special">`</span><span>  </span><span class="hs-identifier">int64ToWord64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-861"></span><span>    </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">xor</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">word64ToInt64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">int64ToWord64#</span><span> </span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">xor64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">int64ToWord64#</span><span> </span><span class="hs-identifier">y#</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-862"></span><span>    </span><span class="hs-identifier">complement</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">word64ToInt64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">not64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">int64ToWord64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-863"></span><span>    </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">shift</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I#</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>
</span><span id="line-864"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">i#</span><span> </span><span class="hs-operator">&gt;=#</span><span> </span><span class="hs-number">0#</span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">iShiftL64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>
</span><span id="line-865"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">iShiftRA64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">negateInt#</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>
</span><span id="line-866"></span><span>    </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">shiftL</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I#</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>
</span><span id="line-867"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">i#</span><span> </span><span class="hs-operator">&gt;=#</span><span> </span><span class="hs-number">0#</span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">iShiftL64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>
</span><span id="line-868"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">overflowError</span><span>
</span><span id="line-869"></span><span>    </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">unsafeShiftL</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I#</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">uncheckedIShiftL64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>
</span><span id="line-870"></span><span>    </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">shiftR</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I#</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>
</span><span id="line-871"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">i#</span><span> </span><span class="hs-operator">&gt;=#</span><span> </span><span class="hs-number">0#</span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">iShiftRA64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>
</span><span id="line-872"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">overflowError</span><span>
</span><span id="line-873"></span><span>    </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">unsafeShiftR</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I#</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">x#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">uncheckedIShiftRA64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>
</span><span id="line-874"></span><span>    </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">rotate</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I#</span><span> </span><span class="hs-identifier">i#</span><span class="hs-special">)</span><span>
</span><span id="line-875"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">i'#</span><span> </span><span class="hs-operator">==#</span><span> </span><span class="hs-number">0#</span><span class="hs-special">)</span><span>
</span><span id="line-876"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span>
</span><span id="line-877"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>
</span><span id="line-878"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">word64ToInt64#</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-identifier">x'#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">uncheckedShiftL64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">i'#</span><span class="hs-special">)</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">or64#</span><span class="hs-special">`</span><span>
</span><span id="line-879"></span><span>                                </span><span class="hs-special">(</span><span class="hs-identifier">x'#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">uncheckedShiftRL64#</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-number">64#</span><span> </span><span class="hs-operator">-#</span><span> </span><span class="hs-identifier">i'#</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-880"></span><span>        </span><span class="hs-keyword">where</span><span>
</span><span id="line-881"></span><span>        </span><span class="hs-glyph">!</span><span class="hs-identifier">x'#</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">int64ToWord64#</span><span> </span><span class="hs-identifier">x#</span><span>
</span><span id="line-882"></span><span>        </span><span class="hs-glyph">!</span><span class="hs-identifier">i'#</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">word2Int#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">int2Word#</span><span> </span><span class="hs-identifier">i#</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">and#</span><span class="hs-special">`</span><span> </span><span class="hs-number">63##</span><span class="hs-special">)</span><span>
</span><span id="line-883"></span><span>    </span><span class="hs-identifier">bitSizeMaybe</span><span> </span><span class="hs-identifier">i</span><span>             </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">Just</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">finiteBitSize</span><span> </span><span class="hs-identifier">i</span><span class="hs-special">)</span><span>
</span><span id="line-884"></span><span>    </span><span class="hs-identifier">bitSize</span><span> </span><span class="hs-identifier">i</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">finiteBitSize</span><span> </span><span class="hs-identifier">i</span><span>
</span><span id="line-885"></span><span>    </span><span class="hs-identifier">isSigned</span><span> </span><span class="hs-identifier">_</span><span>                 </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">True</span><span>
</span><span id="line-886"></span><span>    </span><span class="hs-identifier">popCount</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span>         </span><span class="hs-glyph">=</span><span>
</span><span id="line-887"></span><span>        </span><span class="hs-identifier">I#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">word2Int#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">popCnt64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">int64ToWord64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-888"></span><span>    </span><span class="hs-identifier">bit</span><span>                        </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">bitDefault</span><span>
</span><span id="line-889"></span><span>    </span><span class="hs-identifier">testBit</span><span>                    </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">testBitDefault</span><span>
</span><span id="line-890"></span><span>
</span><span id="line-891"></span><span class="hs-comment">-- give the 64-bit shift operations the same treatment as the 32-bit</span><span>
</span><span id="line-892"></span><span class="hs-comment">-- ones (see GHC.Base), namely we wrap them in tests to catch the</span><span>
</span><span id="line-893"></span><span class="hs-comment">-- cases when we're shifting more than 64 bits to avoid unspecified</span><span>
</span><span id="line-894"></span><span class="hs-comment">-- behaviour in the C shift operations.</span><span>
</span><span id="line-895"></span><span>
</span><span id="line-896"></span><span class="hs-identifier">iShiftL64#</span><span class="hs-special">,</span><span> </span><span class="hs-identifier">iShiftRA64#</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">Int64#</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier">Int#</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier">Int64#</span><span>
</span><span id="line-897"></span><span>
</span><span id="line-898"></span><span class="hs-identifier">a</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">iShiftL64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">b</span><span>  </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">b</span><span> </span><span class="hs-operator">&gt;=#</span><span> </span><span class="hs-number">64#</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">intToInt64#</span><span> </span><span class="hs-number">0#</span><span>
</span><span id="line-899"></span><span>                  </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span>           </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">a</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">uncheckedIShiftL64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">b</span><span>
</span><span id="line-900"></span><span>
</span><span id="line-901"></span><span class="hs-identifier">a</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">iShiftRA64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">b</span><span> </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">b</span><span> </span><span class="hs-operator">&gt;=#</span><span> </span><span class="hs-number">64#</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">if</span><span> </span><span class="hs-identifier">isTrue#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">a</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">ltInt64#</span><span class="hs-special">`</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">intToInt64#</span><span> </span><span class="hs-number">0#</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-902"></span><span>                                          </span><span class="hs-keyword">then</span><span> </span><span class="hs-identifier">intToInt64#</span><span> </span><span class="hs-special">(</span><span class="hs-number">-1#</span><span class="hs-special">)</span><span>
</span><span id="line-903"></span><span>                                          </span><span class="hs-keyword">else</span><span> </span><span class="hs-identifier">intToInt64#</span><span> </span><span class="hs-number">0#</span><span>
</span><span id="line-904"></span><span>                  </span><span class="hs-glyph">|</span><span> </span><span class="hs-identifier">otherwise</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">a</span><span> </span><span class="hs-special">`</span><span class="hs-identifier">uncheckedIShiftRA64#</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">b</span><span>
</span><span id="line-905"></span><span>
</span><span id="line-906"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-907"></span><span class="hs-pragma">&quot;fromIntegral/Int-&gt;Int64&quot;</span><span>    </span><span class="hs-pragma">fromIntegral</span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="hs-pragma">I#</span><span>   </span><span class="hs-pragma">x#</span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">I64#</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">intToInt64#</span><span> </span><span class="hs-pragma">x#</span><span class="hs-pragma">)</span><span>
</span><span id="line-908"></span><span class="hs-pragma">&quot;fromIntegral/Word-&gt;Int64&quot;</span><span>   </span><span class="hs-pragma">fromIntegral</span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="hs-pragma">W#</span><span>   </span><span class="hs-pragma">x#</span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">I64#</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">word64ToInt64#</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">wordToWord64#</span><span> </span><span class="hs-pragma">x#</span><span class="hs-pragma">)</span><span class="hs-pragma">)</span><span>
</span><span id="line-909"></span><span class="hs-pragma">&quot;fromIntegral/Word64-&gt;Int64&quot;</span><span> </span><span class="hs-pragma">fromIntegral</span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="hs-pragma">W64#</span><span> </span><span class="hs-pragma">x#</span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">I64#</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">word64ToInt64#</span><span> </span><span class="hs-pragma">x#</span><span class="hs-pragma">)</span><span>
</span><span id="line-910"></span><span class="hs-pragma">&quot;fromIntegral/Int64-&gt;Int&quot;</span><span>    </span><span class="hs-pragma">fromIntegral</span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="hs-pragma">I64#</span><span> </span><span class="hs-pragma">x#</span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">I#</span><span>   </span><span class="hs-pragma">(</span><span class="hs-pragma">int64ToInt#</span><span> </span><span class="hs-pragma">x#</span><span class="hs-pragma">)</span><span>
</span><span id="line-911"></span><span class="hs-pragma">&quot;fromIntegral/Int64-&gt;Word&quot;</span><span>   </span><span class="hs-pragma">fromIntegral</span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="hs-pragma">I64#</span><span> </span><span class="hs-pragma">x#</span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">W#</span><span>   </span><span class="hs-pragma">(</span><span class="hs-pragma">int2Word#</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">int64ToInt#</span><span> </span><span class="hs-pragma">x#</span><span class="hs-pragma">)</span><span class="hs-pragma">)</span><span>
</span><span id="line-912"></span><span class="hs-pragma">&quot;fromIntegral/Int64-&gt;Word64&quot;</span><span> </span><span class="hs-pragma">fromIntegral</span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="hs-pragma">I64#</span><span> </span><span class="hs-pragma">x#</span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">W64#</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">int64ToWord64#</span><span> </span><span class="hs-pragma">x#</span><span class="hs-pragma">)</span><span>
</span><span id="line-913"></span><span class="hs-pragma">&quot;fromIntegral/Int64-&gt;Int64&quot;</span><span>  </span><span class="hs-pragma">fromIntegral</span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">id</span><span> </span><span class="hs-pragma">::</span><span> </span><span class="hs-pragma">Int64</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">Int64</span><span>
</span><span id="line-914"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-915"></span><span>
</span><span id="line-916"></span><span class="hs-comment">-- No RULES for RealFrac methods if Int is smaller than Int64, we can't</span><span>
</span><span id="line-917"></span><span class="hs-comment">-- go through Int and whether going through Integer is faster is uncertain.</span><span class="hs-cpp">
#else
</span><span>
</span><span id="line-920"></span><span class="hs-comment">-- Int64 is represented in the same way as Int.</span><span>
</span><span id="line-921"></span><span class="hs-comment">-- Operations may assume and must ensure that it holds only values</span><span>
</span><span id="line-922"></span><span class="hs-comment">-- from its logical range.</span><span>
</span><span id="line-923"></span><span>
</span><span id="line-924"></span><span class="hs-keyword">data</span><span> </span><span class="hs-pragma">{-# CTYPE</span><span> </span><span class="hs-pragma">&quot;HsInt64&quot;</span><span> </span><span class="hs-pragma">#-}</span><span> </span><span id="Int64"><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-var">Int64</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="I64%23"><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span></span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#Int%23"><span class="hs-identifier hs-type">Int#</span></a></span><span>
</span><span id="line-925"></span><span class="hs-comment">-- ^ 64-bit signed integer type</span><span>
</span><span id="line-926"></span><span>
</span><span id="line-927"></span><span class="hs-comment">-- See GHC.Classes#matching_overloaded_methods_in_rules</span><span>
</span><span id="line-928"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-929"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#Eq"><span class="hs-identifier hs-type">Eq</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-930"></span><span>    </span><span id="local-6989586621679508944"><span class="annot"><span class="annottext">== :: Int64 -&gt; Int64 -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var hs-var hs-var hs-var">(==)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
</span><a href="GHC.Int.html#eqInt64"><span class="hs-identifier hs-var">eqInt64</span></a></span><span>
</span><span id="line-931"></span><span>    </span><span id="local-6989586621679508943"><span class="annot"><span class="annottext">/= :: Int64 -&gt; Int64 -&gt; Bool
</span><a href="#local-6989586621679508943"><span class="hs-operator hs-var hs-var hs-var hs-var">(/=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
</span><a href="GHC.Int.html#neInt64"><span class="hs-identifier hs-var">neInt64</span></a></span><span>
</span><span id="line-932"></span><span>
</span><span id="line-933"></span><span class="annot"><a href="GHC.Int.html#eqInt64"><span class="hs-identifier hs-type">eqInt64</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#neInt64"><span class="hs-identifier hs-type">neInt64</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Bool"><span class="hs-identifier hs-type">Bool</span></a></span><span>
</span><span id="line-934"></span><span id="eqInt64"><span class="annot"><span class="annottext">eqInt64 :: Int64 -&gt; Int64 -&gt; Bool
</span><a href="GHC.Int.html#eqInt64"><span class="hs-identifier hs-var hs-var">eqInt64</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508942"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508942"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508941"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508941"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508942"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3D%3D%23"><span class="hs-operator hs-var">==#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508941"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-935"></span><span id="neInt64"><span class="annot"><span class="annottext">neInt64 :: Int64 -&gt; Int64 -&gt; Bool
</span><a href="GHC.Int.html#neInt64"><span class="hs-identifier hs-var hs-var">neInt64</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508940"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508940"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508939"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508939"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508940"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%2F%3D%23"><span class="hs-operator hs-var">/=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508939"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-936"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#eqInt64"><span class="hs-pragma hs-type">eqInt64</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-937"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#neInt64"><span class="hs-pragma hs-type">neInt64</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-938"></span><span>
</span><span id="line-939"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-940"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679508927"><span id="local-6989586621679508929"><span id="local-6989586621679508935"><span class="annot"><a href="../../ghc-prim/src/GHC.Classes.html#Ord"><span class="hs-identifier hs-type">Ord</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-941"></span><span>    </span><span id="local-6989586621679508926"><span class="annot"><span class="annottext">&lt; :: Int64 -&gt; Int64 -&gt; Bool
</span><a href="#local-6989586621679508926"><span class="hs-operator hs-var hs-var hs-var hs-var">(&lt;)</span></a></span></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
</span><a href="GHC.Int.html#ltInt64"><span class="hs-identifier hs-var">ltInt64</span></a></span><span>
</span><span id="line-942"></span><span>    </span><span id="local-6989586621679508925"><span class="annot"><span class="annottext">&lt;= :: Int64 -&gt; Int64 -&gt; Bool
</span><a href="#local-6989586621679508925"><span class="hs-operator hs-var hs-var hs-var hs-var">(&lt;=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
</span><a href="GHC.Int.html#leInt64"><span class="hs-identifier hs-var">leInt64</span></a></span><span>
</span><span id="line-943"></span><span>    </span><span id="local-6989586621679508924"><span class="annot"><span class="annottext">&gt;= :: Int64 -&gt; Int64 -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E%3D"><span class="hs-operator hs-var hs-var hs-var hs-var">(&gt;=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
</span><a href="GHC.Int.html#geInt64"><span class="hs-identifier hs-var">geInt64</span></a></span><span>
</span><span id="line-944"></span><span>    </span><span id="local-6989586621679508923"><span class="annot"><span class="annottext">&gt; :: Int64 -&gt; Int64 -&gt; Bool
</span><a href="#local-6989586621679508923"><span class="hs-operator hs-var hs-var hs-var hs-var">(&gt;)</span></a></span></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
</span><a href="GHC.Int.html#gtInt64"><span class="hs-identifier hs-var">gtInt64</span></a></span><span>
</span><span id="line-945"></span><span>
</span><span id="line-946"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#gtInt64"><span class="hs-pragma hs-type">gtInt64</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-947"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#geInt64"><span class="hs-pragma hs-type">geInt64</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-948"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#ltInt64"><span class="hs-pragma hs-type">ltInt64</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-949"></span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="hs-pragma">[</span><span class="hs-pragma">1</span><span class="hs-pragma">]</span><span> </span><span class="annot"><a href="GHC.Int.html#leInt64"><span class="hs-pragma hs-type">leInt64</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-950"></span><span class="annot"><a href="GHC.Int.html#gtInt64"><span class="hs-identifier hs-type">gtInt64</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#geInt64"><span class="hs-identifier hs-type">geInt64</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#ltInt64"><span class="hs-identifier hs-type">ltInt64</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Int.html#leInt64"><span class="hs-identifier hs-type">leInt64</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Bool"><span class="hs-identifier hs-type">Bool</span></a></span><span>
</span><span id="line-951"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508922"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508922"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="gtInt64"><span class="annot"><span class="annottext">gtInt64 :: Int64 -&gt; Int64 -&gt; Bool
</span><a href="GHC.Int.html#gtInt64"><span class="hs-operator hs-var hs-var">`gtInt64`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508921"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508921"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508922"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%23"><span class="hs-operator hs-var">&gt;#</span></a></span><span>  </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508921"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-952"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508920"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508920"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="geInt64"><span class="annot"><span class="annottext">geInt64 :: Int64 -&gt; Int64 -&gt; Bool
</span><a href="GHC.Int.html#geInt64"><span class="hs-operator hs-var hs-var">`geInt64`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508919"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508919"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508920"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508919"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-953"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508918"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508918"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="ltInt64"><span class="annot"><span class="annottext">ltInt64 :: Int64 -&gt; Int64 -&gt; Bool
</span><a href="GHC.Int.html#ltInt64"><span class="hs-operator hs-var hs-var">`ltInt64`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508917"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508917"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508918"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3C%23"><span class="hs-operator hs-var">&lt;#</span></a></span><span>  </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508917"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-954"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508916"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508916"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">)</span><span> </span><span id="leInt64"><span class="annot"><span class="annottext">leInt64 :: Int64 -&gt; Int64 -&gt; Bool
</span><a href="GHC.Int.html#leInt64"><span class="hs-operator hs-var hs-var">`leInt64`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508915"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508915"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508916"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3C%3D%23"><span class="hs-operator hs-var">&lt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508915"><span class="hs-identifier hs-var">y</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-955"></span><span>
</span><span id="line-956"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-957"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679508910"><span id="local-6989586621679508912"><span class="annot"><a href="GHC.Show.html#Show"><span class="hs-identifier hs-type">Show</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-958"></span><span>    </span><span id="local-6989586621679508905"><span class="annot"><span class="annottext">showsPrec :: Int -&gt; Int64 -&gt; ShowS
</span><a href="#local-6989586621679508905"><span class="hs-identifier hs-var hs-var hs-var hs-var">showsPrec</span></a></span></span><span> </span><span id="local-6989586621679508904"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679508904"><span class="hs-identifier hs-var">p</span></a></span></span><span> </span><span id="local-6989586621679508903"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508903"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; ShowS
forall a. Show a =&gt; Int -&gt; a -&gt; ShowS
</span><a href="GHC.Show.html#showsPrec"><span class="hs-identifier hs-var">showsPrec</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679508904"><span class="hs-identifier hs-var">p</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int64 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508903"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-identifier hs-type">Int</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-959"></span><span>
</span><span id="line-960"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-961"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Num.html#Num"><span class="hs-identifier hs-type">Num</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-962"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508894"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508894"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508893"><span class="annot"><span class="annottext">+ :: Int64 -&gt; Int64 -&gt; Int64
</span><a href="#local-6989586621679508893"><span class="hs-operator hs-var hs-var hs-var hs-var">+</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508892"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508892"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508894"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%2B%23"><span class="hs-operator hs-var">+#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508892"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-963"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508891"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508891"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508890"><span class="annot"><span class="annottext">- :: Int64 -&gt; Int64 -&gt; Int64
</span><a href="GHC.Num.html#-"><span class="hs-glyph hs-var hs-var hs-var hs-var">-</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508889"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508889"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508891"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#-%23"><span class="hs-operator hs-var">-#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508889"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-964"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508888"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508888"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508887"><span class="annot"><span class="annottext">* :: Int64 -&gt; Int64 -&gt; Int64
</span><a href="#local-6989586621679508887"><span class="hs-operator hs-var hs-var hs-var hs-var">*</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508886"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508886"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508888"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%2A%23"><span class="hs-operator hs-var">*#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508886"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-965"></span><span>    </span><span id="local-6989586621679508885"><span class="annot"><span class="annottext">negate :: Int64 -&gt; Int64
</span><a href="GHC.Num.html#negate"><span class="hs-identifier hs-var hs-var hs-var hs-var">negate</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508884"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508884"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#negateInt%23"><span class="hs-identifier hs-var">negateInt#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508884"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-966"></span><span>    </span><span id="local-6989586621679508880"><span class="annot"><span class="annottext">abs :: Int64 -&gt; Int64
</span><a href="#local-6989586621679508880"><span class="hs-identifier hs-var hs-var hs-var hs-var">abs</span></a></span></span><span> </span><span id="local-6989586621679508879"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508879"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508879"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E%3D"><span class="hs-operator hs-var">&gt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508879"><span class="hs-identifier hs-var">x</span></a></span><span>
</span><span id="line-967"></span><span>          </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64
forall a. Num a =&gt; a -&gt; a
</span><a href="GHC.Num.html#negate"><span class="hs-identifier hs-var">negate</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508879"><span class="hs-identifier hs-var">x</span></a></span><span>
</span><span id="line-968"></span><span>    </span><span id="local-6989586621679508871"><span class="annot"><span class="annottext">signum :: Int64 -&gt; Int64
</span><a href="#local-6989586621679508871"><span class="hs-identifier hs-var hs-var hs-var hs-var">signum</span></a></span></span><span> </span><span id="local-6989586621679508870"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508870"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508870"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3E"><span class="hs-operator hs-var">&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">1</span></span><span>
</span><span id="line-969"></span><span>    </span><span class="annot"><a href="GHC.Num.html#signum"><span class="hs-identifier hs-var">signum</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span>               </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span>
</span><span id="line-970"></span><span>    </span><span class="annot"><a href="GHC.Num.html#signum"><span class="hs-identifier hs-var">signum</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-identifier">_</span></span><span>               </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">-1</span></span><span>
</span><span id="line-971"></span><span>    </span><span id="local-6989586621679508869"><span class="annot"><span class="annottext">fromInteger :: Integer -&gt; Int64
</span><a href="GHC.Num.html#fromInteger"><span class="hs-identifier hs-var hs-var hs-var hs-var">fromInteger</span></a></span></span><span> </span><span id="local-6989586621679508868"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679508868"><span class="hs-identifier hs-var">i</span></a></span></span><span>          </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Integer -&gt; Int#
</span><a href="../../ghc-bignum/src/GHC.Num.Integer.html#integerToInt%23"><span class="hs-identifier hs-var">integerToInt#</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679508868"><span class="hs-identifier hs-var">i</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-972"></span><span>
</span><span id="line-973"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-974"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679508858"><span id="local-6989586621679508860"><span class="annot"><a href="GHC.Enum.html#Enum"><span class="hs-identifier hs-type">Enum</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-975"></span><span>    </span><span id="local-6989586621679508852"><span class="annot"><span class="annottext">succ :: Int64 -&gt; Int64
</span><a href="#local-6989586621679508852"><span class="hs-identifier hs-var hs-var hs-var hs-var">succ</span></a></span></span><span> </span><span id="local-6989586621679508851"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508851"><span class="hs-identifier hs-var">x</span></a></span></span><span>
</span><span id="line-976"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508851"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%2F%3D"><span class="hs-operator hs-var">/=</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#maxBound"><span class="hs-identifier hs-var">maxBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508851"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Int64
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="GHC.Num.html#%2B"><span class="hs-operator hs-var">+</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">1</span></span><span>
</span><span id="line-977"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Int64
forall a. String -&gt; a
</span><a href="GHC.Enum.html#succError"><span class="hs-identifier hs-var">succError</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Int64&quot;</span></span><span>
</span><span id="line-978"></span><span>    </span><span id="local-6989586621679508846"><span class="annot"><span class="annottext">pred :: Int64 -&gt; Int64
</span><a href="#local-6989586621679508846"><span class="hs-identifier hs-var hs-var hs-var hs-var">pred</span></a></span></span><span> </span><span id="local-6989586621679508845"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508845"><span class="hs-identifier hs-var">x</span></a></span></span><span>
</span><span id="line-979"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508845"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%2F%3D"><span class="hs-operator hs-var">/=</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508845"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Int64
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">1</span></span><span>
</span><span id="line-980"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Int64
forall a. String -&gt; a
</span><a href="GHC.Enum.html#predError"><span class="hs-identifier hs-var">predError</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;Int64&quot;</span></span><span>
</span><span id="line-981"></span><span>    </span><span id="local-6989586621679508844"><span class="annot"><span class="annottext">toEnum :: Int -&gt; Int64
</span><a href="#local-6989586621679508844"><span class="hs-identifier hs-var hs-var hs-var hs-var">toEnum</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679508843"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508843"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>      </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508843"><span class="hs-identifier hs-var">i#</span></a></span><span>
</span><span id="line-982"></span><span>    </span><span id="local-6989586621679508842"><span class="annot"><span class="annottext">fromEnum :: Int64 -&gt; Int
</span><a href="#local-6989586621679508842"><span class="hs-identifier hs-var hs-var hs-var hs-var">fromEnum</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508841"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508841"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508841"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-983"></span><span>    </span><span class="hs-comment">-- See Note [Stable Unfolding for list producers] in GHC.Enum</span><span>
</span><span id="line-984"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="GHC.Enum.html#enumFrom"><span class="hs-pragma hs-type">enumFrom</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-985"></span><span>    </span><span id="local-6989586621679508838"><span class="annot"><span class="annottext">enumFrom :: Int64 -&gt; [Int64]
</span><a href="GHC.Enum.html#enumFrom"><span class="hs-identifier hs-var hs-var hs-var hs-var">enumFrom</span></a></span></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; [Int64]
forall a. (Enum a, Bounded a) =&gt; a -&gt; [a]
</span><a href="GHC.Enum.html#boundedEnumFrom"><span class="hs-identifier hs-var">boundedEnumFrom</span></a></span><span>
</span><span id="line-986"></span><span>    </span><span class="hs-comment">-- See Note [Stable Unfolding for list producers] in GHC.Enum</span><span>
</span><span id="line-987"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="GHC.Enum.html#enumFromThen"><span class="hs-pragma hs-type">enumFromThen</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-988"></span><span>    </span><span id="local-6989586621679508835"><span class="annot"><span class="annottext">enumFromThen :: Int64 -&gt; Int64 -&gt; [Int64]
</span><a href="GHC.Enum.html#enumFromThen"><span class="hs-identifier hs-var hs-var hs-var hs-var">enumFromThen</span></a></span></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; [Int64]
forall a. (Enum a, Bounded a) =&gt; a -&gt; a -&gt; [a]
</span><a href="GHC.Enum.html#boundedEnumFromThen"><span class="hs-identifier hs-var">boundedEnumFromThen</span></a></span><span>
</span><span id="line-989"></span><span>
</span><span id="line-990"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-991"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Real.html#Integral"><span class="hs-identifier hs-type">Integral</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-992"></span><span>    </span><span id="local-6989586621679508816"><span class="annot"><span class="annottext">quot :: Int64 -&gt; Int64 -&gt; Int64
</span><a href="#local-6989586621679508816"><span class="hs-identifier hs-var hs-var hs-var hs-var">quot</span></a></span></span><span>    </span><span id="local-6989586621679508815"><span class="annot"><span class="annottext">x :: Int64
</span><a href="#local-6989586621679508815"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508814"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508814"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508813"><span class="annot"><span class="annottext">y :: Int64
</span><a href="#local-6989586621679508813"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508812"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508812"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-993"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508813"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-994"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508813"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508815"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span> </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-995"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508814"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#quotInt%23"><span class="hs-operator hs-var">`quotInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508812"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-996"></span><span>    </span><span id="local-6989586621679508806"><span class="annot"><span class="annottext">rem :: Int64 -&gt; Int64 -&gt; Int64
</span><a href="#local-6989586621679508806"><span class="hs-identifier hs-var hs-var hs-var hs-var">rem</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508805"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508805"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508804"><span class="annot"><span class="annottext">y :: Int64
</span><a href="#local-6989586621679508804"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508803"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508803"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-997"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508804"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-998"></span><span>          </span><span class="hs-comment">-- The quotRem CPU instruction fails for minBound `quotRem` -1,</span><span>
</span><span id="line-999"></span><span>          </span><span class="hs-comment">-- but minBound `rem` -1 is well-defined (0). We therefore</span><span>
</span><span id="line-1000"></span><span>          </span><span class="hs-comment">-- special-case it.</span><span>
</span><span id="line-1001"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508804"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span>
</span><span id="line-1002"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508805"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#remInt%23"><span class="hs-operator hs-var">`remInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508803"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1003"></span><span>    </span><span id="local-6989586621679508796"><span class="annot"><span class="annottext">div :: Int64 -&gt; Int64 -&gt; Int64
</span><a href="#local-6989586621679508796"><span class="hs-identifier hs-var hs-var hs-var hs-var">div</span></a></span></span><span>     </span><span id="local-6989586621679508795"><span class="annot"><span class="annottext">x :: Int64
</span><a href="#local-6989586621679508795"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508794"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508794"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508793"><span class="annot"><span class="annottext">y :: Int64
</span><a href="#local-6989586621679508793"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508792"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508792"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-1004"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508793"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-1005"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508793"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508795"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span> </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-1006"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508794"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Classes.html#divInt%23"><span class="hs-operator hs-var">`divInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508792"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1007"></span><span>    </span><span id="local-6989586621679508786"><span class="annot"><span class="annottext">mod :: Int64 -&gt; Int64 -&gt; Int64
</span><a href="#local-6989586621679508786"><span class="hs-identifier hs-var hs-var hs-var hs-var">mod</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508785"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508785"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508784"><span class="annot"><span class="annottext">y :: Int64
</span><a href="#local-6989586621679508784"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508783"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508783"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-1008"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508784"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-1009"></span><span>          </span><span class="hs-comment">-- The divMod CPU instruction fails for minBound `divMod` -1,</span><span>
</span><span id="line-1010"></span><span>          </span><span class="hs-comment">-- but minBound `mod` -1 is well-defined (0). We therefore</span><span>
</span><span id="line-1011"></span><span>          </span><span class="hs-comment">-- special-case it.</span><span>
</span><span id="line-1012"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508784"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span>
</span><span id="line-1013"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508785"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Classes.html#modInt%23"><span class="hs-operator hs-var">`modInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508783"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1014"></span><span>    </span><span id="local-6989586621679508775"><span class="annot"><span class="annottext">quotRem :: Int64 -&gt; Int64 -&gt; (Int64, Int64)
</span><a href="#local-6989586621679508775"><span class="hs-identifier hs-var hs-var hs-var hs-var">quotRem</span></a></span></span><span> </span><span id="local-6989586621679508774"><span class="annot"><span class="annottext">x :: Int64
</span><a href="#local-6989586621679508774"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508773"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508773"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508772"><span class="annot"><span class="annottext">y :: Int64
</span><a href="#local-6989586621679508772"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508771"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508771"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-1015"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508772"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Int64, Int64)
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-1016"></span><span>          </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-1017"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508772"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508774"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int64
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span class="hs-special">)</span><span>
</span><span id="line-1018"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508773"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; (# Int#, Int# #)
</span><a href="../../ghc-prim/src/GHC.Prim.html#quotRemInt%23"><span class="hs-operator hs-var">`quotRemInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508771"><span class="hs-identifier hs-var">y#</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-1019"></span><span>                                       </span><span class="hs-special">(#</span><span> </span><span id="local-6989586621679508770"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508770"><span class="hs-identifier hs-var">q</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679508769"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508769"><span class="hs-identifier hs-var">r</span></a></span></span><span> </span><span class="hs-special">#)</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-1020"></span><span>                                           </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508770"><span class="hs-identifier hs-var">q</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508769"><span class="hs-identifier hs-var">r</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1021"></span><span>    </span><span id="local-6989586621679508761"><span class="annot"><span class="annottext">divMod :: Int64 -&gt; Int64 -&gt; (Int64, Int64)
</span><a href="#local-6989586621679508761"><span class="hs-identifier hs-var hs-var hs-var hs-var">divMod</span></a></span></span><span>  </span><span id="local-6989586621679508760"><span class="annot"><span class="annottext">x :: Int64
</span><a href="#local-6989586621679508760"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508759"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508759"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508758"><span class="annot"><span class="annottext">y :: Int64
</span><a href="#local-6989586621679508758"><span class="hs-identifier hs-var">y</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508757"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508757"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-1022"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508758"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span>                     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Int64, Int64)
forall a. a
</span><a href="GHC.Real.html#divZeroError"><span class="hs-identifier hs-var">divZeroError</span></a></span><span>
</span><span id="line-1023"></span><span>          </span><span class="hs-comment">-- Note [Order of tests]</span><span>
</span><span id="line-1024"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508758"><span class="hs-identifier hs-var">y</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">-1</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508760"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3D%3D"><span class="hs-operator hs-var">==</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
forall a. Bounded a =&gt; a
</span><a href="GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int64
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0</span></span><span class="hs-special">)</span><span>
</span><span id="line-1025"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508759"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; (# Int#, Int# #)
</span><a href="GHC.Base.html#divModInt%23"><span class="hs-operator hs-var">`divModInt#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508757"><span class="hs-identifier hs-var">y#</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-1026"></span><span>                                       </span><span class="hs-special">(#</span><span> </span><span id="local-6989586621679508756"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508756"><span class="hs-identifier hs-var">d</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679508755"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508755"><span class="hs-identifier hs-var">m</span></a></span></span><span> </span><span class="hs-special">#)</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-1027"></span><span>                                           </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508756"><span class="hs-identifier hs-var">d</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508755"><span class="hs-identifier hs-var">m</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1028"></span><span>    </span><span id="local-6989586621679508754"><span class="annot"><span class="annottext">toInteger :: Int64 -&gt; Integer
</span><a href="GHC.Real.html#toInteger"><span class="hs-identifier hs-var hs-var hs-var hs-var">toInteger</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508753"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508753"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>              </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Integer
</span><a href="../../ghc-bignum/src/GHC.Num.Integer.html#IS"><span class="hs-identifier hs-var">IS</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508753"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-1029"></span><span>
</span><span id="line-1030"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-1031"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679508746"><span id="local-6989586621679508748"><span id="local-6989586621679508750"><span class="annot"><a href="GHC.Read.html#Read"><span class="hs-identifier hs-type">Read</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-1032"></span><span>    </span><span id="local-6989586621679508742"><span class="annot"><span class="annottext">readsPrec :: Int -&gt; ReadS Int64
</span><a href="#local-6989586621679508742"><span class="hs-identifier hs-var hs-var hs-var hs-var">readsPrec</span></a></span></span><span> </span><span id="local-6989586621679508741"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679508741"><span class="hs-identifier hs-var">p</span></a></span></span><span> </span><span id="local-6989586621679508740"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679508740"><span class="hs-identifier hs-var">s</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int -&gt; Int64
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679508739"><span class="hs-identifier hs-var">x</span></a></span><span class="hs-glyph">::</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-identifier hs-type">Int</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679508738"><span class="hs-identifier hs-var">r</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">|</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679508739"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679508739"><span class="hs-identifier hs-var">x</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679508738"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679508738"><span class="hs-identifier hs-var">r</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">Int -&gt; ReadS Int
forall a. Read a =&gt; Int -&gt; ReadS a
</span><a href="GHC.Read.html#readsPrec"><span class="hs-identifier hs-var">readsPrec</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679508741"><span class="hs-identifier hs-var">p</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679508740"><span class="hs-identifier hs-var">s</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-1033"></span><span>
</span><span id="line-1034"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-1035"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679508709"><span id="local-6989586621679508711"><span id="local-6989586621679508721"><span id="local-6989586621679508723"><span id="local-6989586621679508725"><span id="local-6989586621679508728"><span class="annot"><a href="Data.Bits.html#Bits"><span class="hs-identifier hs-type">Bits</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span></span></span></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-1036"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#shift"><span class="hs-pragma hs-type">shift</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-1037"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#bit"><span class="hs-pragma hs-type">bit</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-1038"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#testBit"><span class="hs-pragma hs-type">testBit</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-1039"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#popCount"><span class="hs-pragma hs-type">popCount</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-1040"></span><span>
</span><span id="line-1041"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508707"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508707"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508706"><span class="annot"><span class="annottext">.&amp;. :: Int64 -&gt; Int64 -&gt; Int64
</span><a href="#local-6989586621679508706"><span class="hs-operator hs-var hs-var hs-var hs-var">.&amp;.</span></a></span></span><span>   </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508705"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508705"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508707"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#andI%23"><span class="hs-operator hs-var">`andI#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508705"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1042"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508704"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508704"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508703"><span class="annot"><span class="annottext">.|. :: Int64 -&gt; Int64 -&gt; Int64
</span><a href="#local-6989586621679508703"><span class="hs-operator hs-var hs-var hs-var hs-var">.|.</span></a></span></span><span>   </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508702"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508702"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508704"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#orI%23"><span class="hs-operator hs-var">`orI#`</span></a></span><span>  </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508702"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1043"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508701"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508701"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508700"><span class="annot"><span class="annottext">xor :: Int64 -&gt; Int64 -&gt; Int64
</span><a href="#local-6989586621679508700"><span class="hs-operator hs-var hs-var hs-var hs-var">`xor`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508699"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508699"><span class="hs-identifier hs-var">y#</span></a></span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508701"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#xorI%23"><span class="hs-operator hs-var">`xorI#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508699"><span class="hs-identifier hs-var">y#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1044"></span><span>    </span><span id="local-6989586621679508698"><span class="annot"><span class="annottext">complement :: Int64 -&gt; Int64
</span><a href="#local-6989586621679508698"><span class="hs-identifier hs-var hs-var hs-var hs-var">complement</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508697"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508697"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>       </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#notI%23"><span class="hs-identifier hs-var">notI#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508697"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1045"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508696"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508696"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508695"><span class="annot"><span class="annottext">shift :: Int64 -&gt; Int -&gt; Int64
</span><a href="#local-6989586621679508695"><span class="hs-operator hs-var hs-var hs-var hs-var">`shift`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679508694"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508694"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-1046"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508694"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508696"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftL%23"><span class="hs-operator hs-var">`iShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508694"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1047"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508696"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftRA%23"><span class="hs-operator hs-var">`iShiftRA#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#negateInt%23"><span class="hs-identifier hs-var">negateInt#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508694"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1048"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508693"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508693"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508692"><span class="annot"><span class="annottext">shiftL :: Int64 -&gt; Int -&gt; Int64
</span><a href="#local-6989586621679508692"><span class="hs-operator hs-var hs-var hs-var hs-var">`shiftL`</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679508691"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508691"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-1049"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508691"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508693"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftL%23"><span class="hs-operator hs-var">`iShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508691"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1050"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span>
</span><span id="line-1051"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508690"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508690"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508689"><span class="annot"><span class="annottext">unsafeShiftL :: Int64 -&gt; Int -&gt; Int64
</span><a href="#local-6989586621679508689"><span class="hs-operator hs-var hs-var hs-var hs-var">`unsafeShiftL`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679508688"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508688"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508690"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedIShiftL%23"><span class="hs-operator hs-var">`uncheckedIShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508688"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1052"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508687"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508687"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508686"><span class="annot"><span class="annottext">shiftR :: Int64 -&gt; Int -&gt; Int64
</span><a href="#local-6989586621679508686"><span class="hs-operator hs-var hs-var hs-var hs-var">`shiftR`</span></a></span></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679508685"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508685"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-1053"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508685"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3E%3D%23"><span class="hs-operator hs-var">&gt;=#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508687"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Base.html#iShiftRA%23"><span class="hs-operator hs-var">`iShiftRA#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508685"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1054"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>            </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
forall a. a
</span><a href="GHC.Real.html#overflowError"><span class="hs-identifier hs-var">overflowError</span></a></span><span>
</span><span id="line-1055"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508684"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508684"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508683"><span class="annot"><span class="annottext">unsafeShiftR :: Int64 -&gt; Int -&gt; Int64
</span><a href="#local-6989586621679508683"><span class="hs-operator hs-var hs-var hs-var hs-var">`unsafeShiftR`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679508682"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508682"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508684"><span class="hs-identifier hs-var">x#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedIShiftRA%23"><span class="hs-operator hs-var">`uncheckedIShiftRA#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508682"><span class="hs-identifier hs-var">i#</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1056"></span><span>    </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508681"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508681"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508680"><span class="annot"><span class="annottext">rotate :: Int64 -&gt; Int -&gt; Int64
</span><a href="#local-6989586621679508680"><span class="hs-operator hs-var hs-var hs-var hs-var">`rotate`</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-type">I#</span></a></span><span> </span><span id="local-6989586621679508679"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508679"><span class="hs-identifier hs-var">i#</span></a></span></span><span class="hs-special">)</span><span>
</span><span id="line-1057"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#isTrue%23"><span class="hs-identifier hs-var">isTrue#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508678"><span class="hs-identifier hs-var">i'#</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#%3D%3D%23"><span class="hs-operator hs-var">==#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span class="hs-special">)</span><span>
</span><span id="line-1058"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508681"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-1059"></span><span>        </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>
</span><span id="line-1060"></span><span>        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int64
</span><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-var">I64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word#
</span><a href="#local-6989586621679508677"><span class="hs-identifier hs-var">x'#</span></a></span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedShiftL%23"><span class="hs-operator hs-var">`uncheckedShiftL#`</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508678"><span class="hs-identifier hs-var">i'#</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#or%23"><span class="hs-operator hs-var">`or#`</span></a></span><span>
</span><span id="line-1061"></span><span>                           </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word#
</span><a href="#local-6989586621679508677"><span class="hs-identifier hs-var">x'#</span></a></span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedShiftRL%23"><span class="hs-operator hs-var">`uncheckedShiftRL#`</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">64#</span></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#-%23"><span class="hs-operator hs-var">-#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508678"><span class="hs-identifier hs-var">i'#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-1062"></span><span>        </span><span class="hs-keyword">where</span><span>
</span><span id="line-1063"></span><span>        </span><span class="hs-glyph">!</span><span id="local-6989586621679508677"><span class="annot"><span class="annottext">x'# :: Word#
</span><a href="#local-6989586621679508677"><span class="hs-identifier hs-var hs-var">x'#</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508681"><span class="hs-identifier hs-var">x#</span></a></span><span>
</span><span id="line-1064"></span><span>        </span><span class="hs-glyph">!</span><span id="local-6989586621679508678"><span class="annot"><span class="annottext">i'# :: Int#
</span><a href="#local-6989586621679508678"><span class="hs-identifier hs-var hs-var">i'#</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508679"><span class="hs-identifier hs-var">i#</span></a></span><span> </span><span class="annot"><span class="annottext">Word# -&gt; Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#and%23"><span class="hs-operator hs-var">`and#`</span></a></span><span> </span><span class="annot"><span class="annottext">Word#
</span><span class="hs-number">63##</span></span><span class="hs-special">)</span><span>
</span><span id="line-1065"></span><span>    </span><span id="local-6989586621679508674"><span class="annot"><span class="annottext">bitSizeMaybe :: Int64 -&gt; Maybe Int
</span><a href="#local-6989586621679508674"><span class="hs-identifier hs-var hs-var hs-var hs-var">bitSizeMaybe</span></a></span></span><span> </span><span id="local-6989586621679508673"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508673"><span class="hs-identifier hs-var">i</span></a></span></span><span>             </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Maybe Int
forall a. a -&gt; Maybe a
</span><a href="GHC.Maybe.html#Just"><span class="hs-identifier hs-var">Just</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int64 -&gt; Int
forall b. FiniteBits b =&gt; b -&gt; Int
</span><a href="Data.Bits.html#finiteBitSize"><span class="hs-identifier hs-var">finiteBitSize</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508673"><span class="hs-identifier hs-var">i</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-1066"></span><span>    </span><span id="local-6989586621679508671"><span class="annot"><span class="annottext">bitSize :: Int64 -&gt; Int
</span><a href="#local-6989586621679508671"><span class="hs-identifier hs-var hs-var hs-var hs-var">bitSize</span></a></span></span><span> </span><span id="local-6989586621679508670"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508670"><span class="hs-identifier hs-var">i</span></a></span></span><span>                  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int
forall b. FiniteBits b =&gt; b -&gt; Int
</span><a href="Data.Bits.html#finiteBitSize"><span class="hs-identifier hs-var">finiteBitSize</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508670"><span class="hs-identifier hs-var">i</span></a></span><span>
</span><span id="line-1067"></span><span>    </span><span id="local-6989586621679508669"><span class="annot"><span class="annottext">isSigned :: Int64 -&gt; Bool
</span><a href="#local-6989586621679508669"><span class="hs-identifier hs-var hs-var hs-var hs-var">isSigned</span></a></span></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-identifier">_</span></span><span>                 </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../ghc-prim/src/GHC.Types.html#True"><span class="hs-identifier hs-var">True</span></a></span><span>
</span><span id="line-1068"></span><span>    </span><span id="local-6989586621679508668"><span class="annot"><span class="annottext">popCount :: Int64 -&gt; Int
</span><a href="#local-6989586621679508668"><span class="hs-identifier hs-var hs-var hs-var hs-var">popCount</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508667"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508667"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#popCnt64%23"><span class="hs-identifier hs-var">popCnt64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508667"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-1069"></span><span>    </span><span id="local-6989586621679508664"><span class="annot"><span class="annottext">bit :: Int -&gt; Int64
</span><a href="#local-6989586621679508664"><span class="hs-identifier hs-var hs-var hs-var hs-var">bit</span></a></span></span><span>                        </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int64
forall a. (Bits a, Num a) =&gt; Int -&gt; a
</span><a href="Data.Bits.html#bitDefault"><span class="hs-identifier hs-var">bitDefault</span></a></span><span>
</span><span id="line-1070"></span><span>    </span><span id="local-6989586621679508661"><span class="annot"><span class="annottext">testBit :: Int64 -&gt; Int -&gt; Bool
</span><a href="#local-6989586621679508661"><span class="hs-identifier hs-var hs-var hs-var hs-var">testBit</span></a></span></span><span>                    </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int -&gt; Bool
forall a. (Bits a, Num a) =&gt; a -&gt; Int -&gt; Bool
</span><a href="Data.Bits.html#testBitDefault"><span class="hs-identifier hs-var">testBitDefault</span></a></span><span>
</span><span id="line-1071"></span><span>
</span><span id="line-1072"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-1073"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/a-&gt;Int64&quot;</span></span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span id="local-6989586621679508660"><span class="annot"><a href="#local-6989586621679508660"><span class="hs-pragma hs-var">x</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">case</span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679508660"><span class="hs-pragma hs-type">x</span></a></span><span> </span><span class="hs-pragma">of</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-pragma hs-type">I#</span></a></span><span> </span><span id="local-6989586621679508659"><span class="annot"><a href="#local-6989586621679508659"><span class="hs-pragma hs-var">x#</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-pragma hs-type">I64#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679508659"><span class="hs-pragma hs-type">x#</span></a></span><span>
</span><span id="line-1074"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int64-&gt;a&quot;</span></span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-pragma hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508658"><span class="annot"><a href="#local-6989586621679508658"><span class="hs-pragma hs-var">x#</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-pragma hs-type">I#</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679508658"><span class="hs-pragma hs-type">x#</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1075"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-1076"></span><span>
</span><span id="line-1077"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-1078"></span><span class="annot"><span class="hs-pragma">&quot;properFraction/Float-&gt;(Int64,Float)&quot;</span></span><span>
</span><span id="line-1079"></span><span>    </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span id="local-6989586621679508657"><span class="annot"><a href="#local-6989586621679508657"><span class="hs-pragma hs-var">x</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span>
</span><span id="line-1080"></span><span>                      </span><span class="hs-pragma">case</span><span> </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679508657"><span class="hs-pragma hs-type">x</span></a></span><span> </span><span class="hs-pragma">of</span><span> </span><span class="hs-pragma">{</span><span>
</span><span id="line-1081"></span><span>                        </span><span class="hs-pragma">(</span><span id="local-6989586621679508656"><span class="annot"><a href="#local-6989586621679508656"><span class="hs-pragma hs-var">n</span></a></span></span><span class="hs-pragma">,</span><span> </span><span id="local-6989586621679508655"><span class="annot"><a href="#local-6989586621679508655"><span class="hs-pragma hs-var">y</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-pragma hs-type">Int64</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="#local-6989586621679508656"><span class="hs-pragma hs-type">n</span></a></span><span class="hs-pragma">,</span><span> </span><span class="annot"><a href="#local-6989586621679508655"><span class="hs-pragma hs-type">y</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">}</span><span>
</span><span id="line-1082"></span><span class="annot"><span class="hs-pragma">&quot;truncate/Float-&gt;Int64&quot;</span></span><span>
</span><span id="line-1083"></span><span>    </span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-pragma hs-type">Int64</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1084"></span><span class="annot"><span class="hs-pragma">&quot;floor/Float-&gt;Int64&quot;</span></span><span>
</span><span id="line-1085"></span><span>    </span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-pragma hs-type">Int64</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1086"></span><span class="annot"><span class="hs-pragma">&quot;ceiling/Float-&gt;Int64&quot;</span></span><span>
</span><span id="line-1087"></span><span>    </span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span>  </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-pragma hs-type">Int64</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1088"></span><span class="annot"><span class="hs-pragma">&quot;round/Float-&gt;Int64&quot;</span></span><span>
</span><span id="line-1089"></span><span>    </span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-pragma hs-type">Int64</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>  </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Float"><span class="hs-pragma hs-type">Float</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1090"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-1091"></span><span>
</span><span id="line-1092"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-1093"></span><span class="annot"><span class="hs-pragma">&quot;properFraction/Double-&gt;(Int64,Double)&quot;</span></span><span>
</span><span id="line-1094"></span><span>    </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">\</span><span id="local-6989586621679508654"><span class="annot"><a href="#local-6989586621679508654"><span class="hs-pragma hs-var">x</span></a></span></span><span> </span><span class="hs-pragma">-&gt;</span><span>
</span><span id="line-1095"></span><span>                      </span><span class="hs-pragma">case</span><span> </span><span class="annot"><a href="GHC.Real.html#properFraction"><span class="hs-pragma hs-type">properFraction</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679508654"><span class="hs-pragma hs-type">x</span></a></span><span> </span><span class="hs-pragma">of</span><span> </span><span class="hs-pragma">{</span><span>
</span><span id="line-1096"></span><span>                        </span><span class="hs-pragma">(</span><span id="local-6989586621679508653"><span class="annot"><a href="#local-6989586621679508653"><span class="hs-pragma hs-var">n</span></a></span></span><span class="hs-pragma">,</span><span> </span><span id="local-6989586621679508652"><span class="annot"><a href="#local-6989586621679508652"><span class="hs-pragma hs-var">y</span></a></span></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="hs-pragma">(</span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-pragma hs-type">Int64</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="#local-6989586621679508653"><span class="hs-pragma hs-type">n</span></a></span><span class="hs-pragma">,</span><span> </span><span class="annot"><a href="#local-6989586621679508652"><span class="hs-pragma hs-type">y</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span class="hs-pragma">)</span><span> </span><span class="hs-pragma">}</span><span>
</span><span id="line-1097"></span><span class="annot"><span class="hs-pragma">&quot;truncate/Double-&gt;Int64&quot;</span></span><span>
</span><span id="line-1098"></span><span>    </span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-pragma hs-type">Int64</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#truncate"><span class="hs-pragma hs-type">truncate</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1099"></span><span class="annot"><span class="hs-pragma">&quot;floor/Double-&gt;Int64&quot;</span></span><span>
</span><span id="line-1100"></span><span>    </span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-pragma hs-type">Int64</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#floor"><span class="hs-pragma hs-type">floor</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1101"></span><span class="annot"><span class="hs-pragma">&quot;ceiling/Double-&gt;Int64&quot;</span></span><span>
</span><span id="line-1102"></span><span>    </span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span>  </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-pragma hs-type">Int64</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#ceiling"><span class="hs-pragma hs-type">ceiling</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1103"></span><span class="annot"><span class="hs-pragma">&quot;round/Double-&gt;Int64&quot;</span></span><span>
</span><span id="line-1104"></span><span>    </span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>    </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-pragma hs-type">Int64</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#round"><span class="hs-pragma hs-type">round</span></a></span><span>  </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Double"><span class="hs-pragma hs-type">Double</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1105"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-1106"></span><span>
</span><span id="line-1107"></span><span class="annot"><a href="GHC.Int.html#uncheckedIShiftL64%23"><span class="hs-identifier hs-type">uncheckedIShiftL64#</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#Int%23"><span class="hs-identifier hs-type">Int#</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#Int%23"><span class="hs-identifier hs-type">Int#</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#Int%23"><span class="hs-identifier hs-type">Int#</span></a></span><span>
</span><span id="line-1108"></span><span id="uncheckedIShiftL64%23"><span class="annot"><span class="annottext">uncheckedIShiftL64# :: Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Int.html#uncheckedIShiftL64%23"><span class="hs-identifier hs-var hs-var">uncheckedIShiftL64#</span></a></span></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedIShiftL%23"><span class="hs-identifier hs-var">uncheckedIShiftL#</span></a></span><span>
</span><span id="line-1109"></span><span>
</span><span id="line-1110"></span><span class="annot"><a href="GHC.Int.html#uncheckedIShiftRA64%23"><span class="hs-identifier hs-type">uncheckedIShiftRA64#</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#Int%23"><span class="hs-identifier hs-type">Int#</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#Int%23"><span class="hs-identifier hs-type">Int#</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Prim.html#Int%23"><span class="hs-identifier hs-type">Int#</span></a></span><span>
</span><span id="line-1111"></span><span id="uncheckedIShiftRA64%23"><span class="annot"><span class="annottext">uncheckedIShiftRA64# :: Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Int.html#uncheckedIShiftRA64%23"><span class="hs-identifier hs-var hs-var">uncheckedIShiftRA64#</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#uncheckedIShiftRA%23"><span class="hs-identifier hs-var">uncheckedIShiftRA#</span></a></span><span class="hs-cpp">
#endif
</span><span>
</span><span id="line-1114"></span><span class="hs-comment">-- | @since 4.6.0.0</span><span>
</span><span id="line-1115"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="Data.Bits.html#FiniteBits"><span class="hs-identifier hs-type">FiniteBits</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-1116"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#countLeadingZeros"><span class="hs-pragma hs-type">countLeadingZeros</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-1117"></span><span>    </span><span class="hs-pragma">{-# INLINE</span><span> </span><span class="annot"><a href="Data.Bits.html#countTrailingZeros"><span class="hs-pragma hs-type">countTrailingZeros</span></a></span><span> </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-1118"></span><span>    </span><span id="local-6989586621679508646"><span class="annot"><span class="annottext">finiteBitSize :: Int64 -&gt; Int
</span><a href="#local-6989586621679508646"><span class="hs-identifier hs-var hs-var hs-var hs-var">finiteBitSize</span></a></span></span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">64</span></span><span class="hs-cpp">
#if WORD_SIZE_IN_BITS &lt; 64
</span><span>    </span><span class="hs-identifier">countLeadingZeros</span><span>  </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">word2Int#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">clz64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">int64ToWord64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-1121"></span><span>    </span><span class="hs-identifier">countTrailingZeros</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">I64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">I#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">word2Int#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">ctz64#</span><span> </span><span class="hs-special">(</span><span class="hs-identifier">int64ToWord64#</span><span> </span><span class="hs-identifier">x#</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-cpp">
#else
</span><span>    </span><span id="local-6989586621679508645"><span class="annot"><span class="annottext">countLeadingZeros :: Int64 -&gt; Int
</span><a href="#local-6989586621679508645"><span class="hs-identifier hs-var hs-var hs-var hs-var">countLeadingZeros</span></a></span></span><span>  </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508644"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508644"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#clz64%23"><span class="hs-identifier hs-var">clz64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508644"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-1124"></span><span>    </span><span id="local-6989586621679508643"><span class="annot"><span class="annottext">countTrailingZeros :: Int64 -&gt; Int
</span><a href="#local-6989586621679508643"><span class="hs-identifier hs-var hs-var hs-var hs-var">countTrailingZeros</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Int.html#I64%23"><span class="hs-identifier hs-type">I64#</span></a></span><span> </span><span id="local-6989586621679508642"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508642"><span class="hs-identifier hs-var">x#</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int
</span><a href="../../ghc-prim/src/GHC.Types.html#I%23"><span class="hs-identifier hs-var">I#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Int#
</span><a href="../../ghc-prim/src/GHC.Prim.html#word2Int%23"><span class="hs-identifier hs-var">word2Int#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#ctz64%23"><span class="hs-identifier hs-var">ctz64#</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int# -&gt; Word#
</span><a href="../../ghc-prim/src/GHC.Prim.html#int2Word%23"><span class="hs-identifier hs-var">int2Word#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679508642"><span class="hs-identifier hs-var">x#</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-cpp">
#endif
</span><span>
</span><span id="line-1127"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-1128"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Real.html#Real"><span class="hs-identifier hs-type">Real</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-1129"></span><span>    </span><span id="local-6989586621679508633"><span class="annot"><span class="annottext">toRational :: Int64 -&gt; Rational
</span><a href="GHC.Real.html#toRational"><span class="hs-identifier hs-var hs-var hs-var hs-var">toRational</span></a></span></span><span> </span><span id="local-6989586621679508632"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508632"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Integer
forall a. Integral a =&gt; a -&gt; Integer
</span><a href="GHC.Real.html#toInteger"><span class="hs-identifier hs-var">toInteger</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508632"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Integer -&gt; Integer -&gt; Rational
forall a. Integral a =&gt; a -&gt; a -&gt; Ratio a
</span><a href="GHC.Real.html#%25"><span class="hs-operator hs-var">%</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><span class="hs-number">1</span></span><span>
</span><span id="line-1130"></span><span>
</span><span id="line-1131"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-1132"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Enum.html#Bounded"><span class="hs-identifier hs-type">Bounded</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-1133"></span><span>    </span><span id="local-6989586621679508628"><span class="annot"><span class="annottext">minBound :: Int64
</span><a href="#local-6989586621679508628"><span class="hs-identifier hs-var hs-var hs-var hs-var">minBound</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">-0x8000000000000000</span></span><span>
</span><span id="line-1134"></span><span>    </span><span id="local-6989586621679508626"><span class="annot"><span class="annottext">maxBound :: Int64
</span><a href="#local-6989586621679508626"><span class="hs-identifier hs-var hs-var hs-var hs-var">maxBound</span></a></span></span><span> </span><span class="hs-glyph">=</span><span>  </span><span class="annot"><span class="annottext">Int64
</span><span class="hs-number">0x7FFFFFFFFFFFFFFF</span></span><span>
</span><span id="line-1135"></span><span>
</span><span id="line-1136"></span><span class="hs-comment">-- | @since 2.01</span><span>
</span><span id="line-1137"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679508615"><span id="local-6989586621679508617"><span id="local-6989586621679508621"><span class="annot"><a href="GHC.Ix.html#Ix"><span class="hs-identifier hs-type">Ix</span></a></span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-1138"></span><span>    </span><span id="local-6989586621679508613"><span class="annot"><span class="annottext">range :: (Int64, Int64) -&gt; [Int64]
</span><a href="#local-6989586621679508613"><span class="hs-identifier hs-var hs-var hs-var hs-var">range</span></a></span></span><span> </span><span class="hs-special">(</span><span id="local-6989586621679508612"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508612"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">,</span><span id="local-6989586621679508611"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508611"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span>         </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508612"><span class="hs-identifier hs-var">m</span></a></span><span class="hs-glyph">..</span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508611"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-1139"></span><span>    </span><span id="local-6989586621679508605"><span class="annot"><span class="annottext">unsafeIndex :: (Int64, Int64) -&gt; Int64 -&gt; Int
</span><a href="#local-6989586621679508605"><span class="hs-identifier hs-var hs-var hs-var hs-var">unsafeIndex</span></a></span></span><span> </span><span class="hs-special">(</span><span id="local-6989586621679508604"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508604"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">,</span><span class="annot"><span class="annottext">Int64
</span><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508603"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508603"><span class="hs-identifier hs-var">i</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508603"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Int
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508604"><span class="hs-identifier hs-var">m</span></a></span><span>
</span><span id="line-1140"></span><span>    </span><span id="local-6989586621679508600"><span class="annot"><span class="annottext">inRange :: (Int64, Int64) -&gt; Int64 -&gt; Bool
</span><a href="#local-6989586621679508600"><span class="hs-identifier hs-var hs-var hs-var hs-var">inRange</span></a></span></span><span> </span><span class="hs-special">(</span><span id="local-6989586621679508599"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508599"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">,</span><span id="local-6989586621679508598"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508598"><span class="hs-identifier hs-var">n</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679508597"><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508597"><span class="hs-identifier hs-var">i</span></a></span></span><span>     </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508599"><span class="hs-identifier hs-var">m</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C%3D"><span class="hs-operator hs-var">&lt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508597"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%26%26"><span class="hs-operator hs-var">&amp;&amp;</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508597"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int64 -&gt; Int64 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><a href="../../ghc-prim/src/GHC.Classes.html#%3C%3D"><span class="hs-operator hs-var">&lt;=</span></a></span><span> </span><span class="annot"><span class="annottext">Int64
</span><a href="#local-6989586621679508598"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-1141"></span><span>
</span><span id="line-1142"></span><span class="hs-comment">-------------------------------------------------------------------------------</span><span>
</span><span id="line-1143"></span><span>
</span><span id="line-1144"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-1145"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Natural-&gt;Int8&quot;</span></span><span>
</span><span id="line-1146"></span><span>    </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span class="hs-pragma">)</span><span>  </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="annot"><a href="../../ghc-bignum/src/GHC.Num.Natural.html#naturalToWord"><span class="hs-pragma hs-type">naturalToWord</span></a></span><span>
</span><span id="line-1147"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Natural-&gt;Int16&quot;</span></span><span>
</span><span id="line-1148"></span><span>    </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="annot"><a href="../../ghc-bignum/src/GHC.Num.Natural.html#naturalToWord"><span class="hs-pragma hs-type">naturalToWord</span></a></span><span>
</span><span id="line-1149"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Natural-&gt;Int32&quot;</span></span><span>
</span><span id="line-1150"></span><span>    </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="annot"><a href="../../ghc-bignum/src/GHC.Num.Natural.html#naturalToWord"><span class="hs-pragma hs-type">naturalToWord</span></a></span><span>
</span><span id="line-1151"></span><span>  </span><span class="hs-pragma">#-}</span><span>
</span><span id="line-1152"></span><span>
</span><span id="line-1153"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-1154"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int8-&gt;Natural&quot;</span></span><span>
</span><span id="line-1155"></span><span>    </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="annot"><a href="../../ghc-bignum/src/GHC.Num.Natural.html#naturalFromWord"><span class="hs-pragma hs-type">naturalFromWord</span></a></span><span>  </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int8"><span class="hs-pragma hs-type">Int8</span></a></span><span>  </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1156"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int16-&gt;Natural&quot;</span></span><span>
</span><span id="line-1157"></span><span>    </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="annot"><a href="../../ghc-bignum/src/GHC.Num.Natural.html#naturalFromWord"><span class="hs-pragma hs-type">naturalFromWord</span></a></span><span>  </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int16"><span class="hs-pragma hs-type">Int16</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1158"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int32-&gt;Natural&quot;</span></span><span>
</span><span id="line-1159"></span><span>    </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="annot"><a href="../../ghc-bignum/src/GHC.Num.Natural.html#naturalFromWord"><span class="hs-pragma hs-type">naturalFromWord</span></a></span><span>  </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int32"><span class="hs-pragma hs-type">Int32</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1160"></span><span>  </span><span class="hs-pragma">#-}</span><span class="hs-cpp">

#if WORD_SIZE_IN_BITS == 64
</span><span class="hs-comment">-- these RULES are valid for Word==Word64 &amp; Int==Int64</span><span>
</span><span id="line-1164"></span><span class="hs-pragma">{-# RULES</span><span>
</span><span id="line-1165"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Natural-&gt;Int64&quot;</span></span><span>
</span><span id="line-1166"></span><span>    </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-pragma hs-type">Int64</span></a></span><span class="hs-pragma">)</span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="annot"><a href="../../ghc-bignum/src/GHC.Num.Natural.html#naturalToWord"><span class="hs-pragma hs-type">naturalToWord</span></a></span><span>
</span><span id="line-1167"></span><span class="annot"><span class="hs-pragma">&quot;fromIntegral/Int64-&gt;Natural&quot;</span></span><span>
</span><span id="line-1168"></span><span>    </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">=</span><span> </span><span class="annot"><a href="../../ghc-bignum/src/GHC.Num.Natural.html#naturalFromWord"><span class="hs-pragma hs-type">naturalFromWord</span></a></span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="annot"><a href="GHC.Base.html#."><span class="hs-pragma hs-type">.</span></a></span><span> </span><span class="hs-pragma">(</span><span class="annot"><a href="GHC.Real.html#fromIntegral"><span class="hs-pragma hs-type">fromIntegral</span></a></span><span> </span><span class="hs-pragma">::</span><span> </span><span class="annot"><a href="GHC.Int.html#Int64"><span class="hs-pragma hs-type">Int64</span></a></span><span> </span><span class="hs-pragma">-&gt;</span><span> </span><span class="annot"><a href="../../ghc-prim/src/GHC.Types.html#Int"><span class="hs-pragma hs-type">Int</span></a></span><span class="hs-pragma">)</span><span>
</span><span id="line-1169"></span><span>  </span><span class="hs-pragma">#-}</span><span class="hs-cpp">
#endif
</span><span>
</span><span id="line-1172"></span><span>
</span><span id="line-1173"></span><span class="hs-comment">{- Note [Order of tests]
~~~~~~~~~~~~~~~~~~~~~~~~~
(See #3065, #5161.) Suppose we had a definition like:

    quot x y
     | y == 0                     = divZeroError
     | x == minBound &amp;&amp; y == (-1) = overflowError
     | otherwise                  = x `primQuot` y

Note in particular that the
    x == minBound
test comes before the
    y == (-1)
test.

this expands to something like:

    case y of
    0 -&gt; divZeroError
    _ -&gt; case x of
         -9223372036854775808 -&gt;
             case y of
             -1 -&gt; overflowError
             _ -&gt; x `primQuot` y
         _ -&gt; x `primQuot` y

Now if we have the call (x `quot` 2), and quot gets inlined, then we get:

    case 2 of
    0 -&gt; divZeroError
    _ -&gt; case x of
         -9223372036854775808 -&gt;
             case 2 of
             -1 -&gt; overflowError
             _ -&gt; x `primQuot` 2
         _ -&gt; x `primQuot` 2

which simplifies to:

    case x of
    -9223372036854775808 -&gt; x `primQuot` 2
    _                    -&gt; x `primQuot` 2

Now we have a case with two identical branches, which would be
eliminated (assuming it doesn't affect strictness, which it doesn't in
this case), leaving the desired:

    x `primQuot` 2

except in the minBound branch we know what x is, and GHC cleverly does
the division at compile time, giving:

    case x of
    -9223372036854775808 -&gt; -4611686018427387904
    _                    -&gt; x `primQuot` 2

So instead we use a definition like:

    quot x y
     | y == 0                     = divZeroError
     | y == (-1) &amp;&amp; x == minBound = overflowError
     | otherwise                  = x `primQuot` y

which gives us:

    case y of
    0 -&gt; divZeroError
    -1 -&gt;
        case x of
        -9223372036854775808 -&gt; overflowError
        _ -&gt; x `primQuot` y
    _ -&gt; x `primQuot` y

for which our call (x `quot` 2) expands to:

    case 2 of
    0 -&gt; divZeroError
    -1 -&gt;
        case x of
        -9223372036854775808 -&gt; overflowError
        _ -&gt; x `primQuot` 2
    _ -&gt; x `primQuot` 2

which simplifies to:

    x `primQuot` 2

as required.



But we now have the same problem with a constant numerator: the call
(2 `quot` y) expands to

    case y of
    0 -&gt; divZeroError
    -1 -&gt;
        case 2 of
        -9223372036854775808 -&gt; overflowError
        _ -&gt; 2 `primQuot` y
    _ -&gt; 2 `primQuot` y

which simplifies to:

    case y of
    0 -&gt; divZeroError
    -1 -&gt; 2 `primQuot` y
    _ -&gt; 2 `primQuot` y

which simplifies to:

    case y of
    0 -&gt; divZeroError
    -1 -&gt; -2
    _ -&gt; 2 `primQuot` y


However, constant denominators are more common than constant numerators,
so the
    y == (-1) &amp;&amp; x == minBound
order gives us better code in the common case.
-}</span><span>
</span><span id="line-1295"></span></pre></body></html>